Re: Bug in git log
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 2, 2006, 08:24 UTC
- Message-ID
- <7virooomve.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060502075122.GA8203@spinlock.ch>
Matthias Kestenholz <lists@irregular.ch> writes:
Show 11 quoted lines
> Inside your git source directory, do: > > First bug using old whatchanged script (not builtin version) > > $ ./git-whatchanged.sh -- unresolve.c > fatal: ambiguous argument 'unresolve.c': unknown revision or > filename > Use '--' to separate filenames from revisions > > $ ./git-whatchanged.sh -- -- unresolve.c > [...] gives the expected output
That indeed sounds funny. I was hoping to see it myself but did not reproduce for me X-<.
Show 5 quoted lines
> $ git log -- unresolve.c > $ git log -- -- unresolve.c > $ git whatchanged -- unresolve.c > > both give no output.
I do not have an older version between 0.99.9m and 1.3.1, but 1.3.1 (the current stale release) does not seem to have this "double dash" problem. Neither the tonight's "master" version (746437) nor "next".
We used to have a build problem where we forgot to remove libgit.a and an old object from the archive was used by mistake. Could you try rm -f libgit.a and rebuild your git to see if it helps?