Re: [PATCH 1/1] Fix %(push:track) in ref-filter

2019-04-17 Thread Damien Robert
ntainer could adjust them when he picks up the patch). But > there are just enough that it's probably worth making his life easier > with a v3. > You can put my Reviewed-by on it, too. :) Here it is: >8 From: Damien Robert Date: Tue, 16 Apr 2019 14:16:46 +0200 Subject: [PA

Re: [PATCH 1/1] Fix %(push:track) in ref-filter

2019-04-16 Thread Damien Robert
pple effects of the test changes, since I think we'll end up > changing them again to make sure ":trackshort" is distinct. There are now less impactful than before because the master branch in the test refers to the same commit as before; there is just a new commit for the 'myf

[PATCH 1/1] Fix %(push:track) in ref-filter

2019-04-15 Thread Damien Robert
so that the upstream branch is ahead by 2 while the push branch is ahead by 1, this allow us to test that %(push:track) refer to the correct branch. This change the expected value of some following tests, so update them too. Signed-off-by: Damien Robert --- ref-filter.c| 7

[PATCH 0/1] Fix a bug in ref-filter

2019-04-15 Thread Damien Robert
ch in two, one introducing `stat_push_info` in remote.c and the following one using it in ref-filter.c Damien Robert (1): Fix %(push:track) in ref-filter ref-filter.c| 7 ++-- remote.c| 78 +++-- remote.h| 2 ++ t/

Re: Pull without fetch

2019-04-11 Thread Damien Robert
epends on the state of the git repositories of previous tests rather than creating the git repos from scratch (presumably for the sake of speed), so I was afraid to break things. But I see that I can probably reuse the repos from the test 'setupt for detecting upstreamed changes'. So I'll try (when I have time...) to do a RFC implementation of a 'noop fetch' approach. I first need to understand the source of fetch.c better, in particular how to do something like store_updated_refs when we are doing a noop fetch (so without using transports). -- Damien Robert http://www.normalesup.org/~robert/pro

Re: Pull without fetch

2019-04-08 Thread Damien Robert
>From Damien Robert, Mon 08 Apr 2019 at 16:53:40 (+0200) : > > Others may have a better idea, but I do not immediately see any > > solution better than inventing a new option to "git pull". So here is a RFC patch that implements --no-fetch. (I am not sure about the wor

Re: Pull without fetch

2019-04-08 Thread Damien Robert
not sure I understand what a no-op `git fetch` means exactly. In the "git fetch; ; git pull" scenario, after I do the real `git fetch` and want to merge/rebase the changes, how would I prevent `git pull` to pull new commits that were pushed in between? -- Damien Robert

Pull without fetch

2019-04-06 Thread Damien Robert
feature be accepted? -- Damien Robert

[PATCH v3] run-command: add hint when a hook is ignored

2017-10-06 Thread Damien Marié
hint: You can disable this warning with `git config advice.ignoredHook false` To allow the old use-case of enabling/disabling hooks via the executable flag a new setting is introduced: advice.ignoredHook. Signed-off-by: Damien Marié --- Documentation/config.txt |

Re: [PATCH v2] run-command: add hint when a hook is ignored

2017-10-06 Thread Damien
Thanks for the help, a new patch is coming with those fixes applied. On Fri, Oct 6, 2017 at 7:53 AM, Junio C Hamano wrote: > Junio C Hamano writes: > >> I think it is easier to reason about if this were not "else if", but >> just a simple "if". > > And here are two small suggested changes to the

[PATCH v2] run-command: add hint when a hook is ignored

2017-10-05 Thread Damien Marié
hint: You can disable this warning with `git config advice.ignoredHook false` To allow the old use-case of enabling/disabling hooks via the executable flag a new setting is introduced: advice.ignoredHook. Signed-off-by: Damien Marié --- Documentation/config.txt |

Re: [PATCH] run-command.c: add hint when hook is not executable

2017-10-05 Thread Damien
On Wed, Oct 4, 2017 at 6:40 AM, Junio C Hamano wrote: > Damien writes: > >> --- > > Please explain why this change makes sense to those who find this > commit in "git log" output six months down the line, without having > read the original thread that motivat

[PATCH] run-command.c: add hint when hook is not executable

2017-10-03 Thread Damien
--- Documentation/config.txt | 2 ++ advice.c | 2 ++ advice.h | 1 + contrib/completion/git-completion.bash | 1 + run-command.c | 4 5 files changed, 10 insertions(+) diff --git a/Documentati

hooks are ignored if there are not marked as executable

2017-10-02 Thread Damien
nfigured hook could be better. At least as a warning to be backward-compatible. Thanks, Damien

[PATCH v2] git-check-ref-format: clarify man for --normalize

2017-02-19 Thread Damien Regad
Use of 'iff' may be confusing to people not familiar with this term. Improving the --normalize option's documentation to remove the use of 'iff', and clearly describe what happens when the condition is not met. --- Documentation/git-check-ref-format.txt | 6 +++--- 1 file changed, 3 insertions(+)

Re: [PATCH] git-check-ref-format: fix typo in man page

2017-02-19 Thread Damien Regad
rmalized refname is valid then print it to standard output > and exit with a status of 0. Otherwise, exit with a non-zero status. I'll submit a revised patch shortly, following your suggestion. Cheers Damien

[PATCH] git-check-ref-format: fix typo in man page

2017-02-18 Thread Damien Regad
--- Documentation/git-check-ref-format.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/git-check-ref-format.txt b/Documentation/git-check-ref-format.txt index 8611a99..377c85a 100644 --- a/Documentation/git-check-ref-format.txt +++ b/Documentation/git-check-r

Re: Our cumbersome mailing list workflow

2014-11-28 Thread Damien Robert
> A bot could subscribe to the list and create branches in a public repo. > (This idea feels familiar -- didn't somebody attempt this already?) Thomas Rast maintains git notes that link git commits to their gmane discussion, you can get them with [remote "mailnotes"] url = git://github.com/tras

Re: Summary of the problems with git pull

2014-05-06 Thread Damien Robert
Felipe Contreras wrote in message <5366db742d494_18f9e4b308aa@nysa.notmuch>: > == git update == > > Another proposed solution is to have a new command: `git update`. This > command would be similar to `git pull --ff-only` by default, but it > could be configured to do merges instead, and when doi

Re: `git stash pop` UX Problem

2014-02-27 Thread Damien Robert
rent branch. - `git mystash info` gives informations about a stash. So obviously not all of these would be good for inclusion into git, but maybe some of them would be somewhat worth it. When I have the time I'll try to write tests and send proper patches. -- Damien Robert -- To unsubscr

Re: git-p4: exception when cloning a perforce repository

2014-01-20 Thread Damien Gérard
8< > > From 8556ab04dd126184e26a380b7ed08998fd33debe Mon Sep 17 00:00:00 2001 > From: Pete Wyckoff > Date: Thu, 16 Jan 2014 18:34:09 -0500 > Subject: [PATCH] git p4: work around p4 bug that causes empty symlinks > MIME-Version: 1.0 > Content-Type: text/plain; ch

Re: git-p4: exception when cloning a perforce repository

2014-01-20 Thread Damien Gérard
:00:00 2001 > From: Pete Wyckoff > Date: Thu, 16 Jan 2014 18:34:09 -0500 > Subject: [PATCH] git p4: work around p4 bug that causes empty symlinks > MIME-Version: 1.0 > Content-Type: text/plain; charset=UTF-8 > Content-Transfer-Encoding: 8bit > > Damien Gérard highlights an int

Re: git-p4: exception when cloning a perforce repository

2014-01-16 Thread Damien Gérard
On 16 Jan 2014, at 15:45, Pete Wyckoff wrote: > Oh cool, that helps a lot. P4 is just broken here, so we can get > away with being a bit sloppy in git. I'll try just pretending > "empty symlinks" are not in the repo. Hopefully you'll have a > future commit in your p4 repo that brings back bn.

Re: git-p4: exception when cloning a perforce repository

2014-01-16 Thread Damien Gérard
On 16 Jan 2014, at 14:08, Pete Wyckoff wrote: > dam...@iwi.me wrote on Wed, 15 Jan 2014 09:56 +0100: >> p4 fstat //depot/openssl/0.9.8j/openssl/include/openssl/bn.h@59702 >> ... depotFile //depot/openssl/0.9.8j/openssl/include/openssl/bn.h >> ... headAction edit >> ... headType symlink >> ...

Re: git-p4: exception when cloning a perforce repository

2014-01-15 Thread Damien Gérard
On 15 Jan 2014, at 00:24, Pete Wyckoff wrote: > p...@padd.com wrote on Mon, 13 Jan 2014 19:18 -0500: >> dam...@iwi.me wrote on Mon, 13 Jan 2014 14:37 +0100: >>> I am trying to clone a perforce repository via git and I am having the >>> following backtrace : >>> >>> {14:20}~/projects/:maste

git-p4: exception when cloning a perforce repository

2014-01-13 Thread Damien Gérard
rsion: git version 1.8.5.2.309.ga25014b [last commit from master from github.com/git/git] os : ubuntu 13.10 Any ideas ? :) Best regards, Damien-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: Add a bugzilla website

2013-11-15 Thread Damien Wyart
e.comp.version-control.git/191835/focus=192464 -- Damien Wyart -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: git-archive and submodules

2013-10-10 Thread Damien Regad
e to know where you > > were at and I can see if I can pick up where you left off (unless you > > want to finish yourself). Greetings I was just wondering whether there been any progress on this topic since last year... André ? Cheers Damien -- To unsubscribe from this list: send

Bug? ignored files overwritten by checkout

2013-08-14 Thread Damien Robert
git init git commit --allow-empty -m "init" git checkout -b test echo foo > foo git add foo git commit -am 'add foo' git checkout master echo 'Important data' > foo #[1] echo foo > .gitignore git checkout test If I tried a `git checkout test` after [1], I would get the error message error: T

Re: Remove old forgotten command: whatchanged

2013-08-08 Thread Damien Robert
Junio C Hamano wrote in message <7v61vg9eht@alter.siamese.dyndns.org>: > The "tutorial" was written in fairly early days of Git's history, in > order to primarily help those who want to use the plumbing command > to script their own Porcelain commands. As it says at the very > beginning, the

Re: Remove old forgotten command: whatchanged

2013-08-08 Thread Damien Robert
Matthieu Moy wrote in message : >> that confuses users. > > ... but I do agree that the doc is really confusing. It would be much > better if the doc could be reduced to: > > "This is a synonym for linkgit:git-log[1] --raw --some --other ---options. > Please refer to the documentation of that co

Re: [Query] Can we ignore case for commiters name in shortlog?

2012-11-30 Thread Damien Robert
ress robert@numenor.night-elves. I thought that putting: Damien Robert in the .mailmap would unify the two adresses, but it does not: git shortlog -se 15 Damien Robert 266 Damien Robert as you can see, the Damien.Olivier.Robert+git as been lowercased to damien.olivier.robert, so I am forced

git ls-files --ignored and ignored directory

2012-11-06 Thread Damien Robert
I would like to use git ls-files to show all the ignored files, including directory. As an example of setup: mkdir /tmp/git && cd /tmp/git git init mkdir a b touch a/a touch b/b cat >.gitignore << EOF a/ b/* EOF Then if I do: $ git ls-files --exclude-standard --ignored --others b/b $ git ls-file

git rebase -p and patch equivalent commits

2012-10-16 Thread Damien Robert
Hi all, I was wondering if you had any tips on the following workflow: I work on an experimental feature branch of a project. I have some patches that I implement in branch patch1 and patch2 on top of the feature branch. I test if they both work together by merging patch1 and patch2 into a build br