author | Junio C Hamano <junkio@cox.net> | |
Fri, 27 Jan 2006 01:24:52 +0000 (17:24 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 28 Jan 2006 08:09:58 +0000 (00:09 -0800) | ||
commit | b33aba518456bee97bde1fef4fe17ab6bf401bbe | |
tree | 79a6de36d5e877bd7b539cdc29f1e2356123cb98 | tree | snapshot |
parent | 6b94f1e404afc552e5139c4357331843f5be61ad | commit | diff |
rev-parse: make "whatchanged -- git-fetch-script" work again.
The latest update to avoid misspelled revs interfered when we
were not interested in parsing non flags or arguments not meant
for rev-list. This makes these two forms work again:
git whatchanged -- git-fetch-script
We could enable "!def" in the part this change touches to make
the above work without '--', but then it would cause misspelled
v2.6.14..v2.6.16 to be given to diff-tree and defeats the whole
point of the previous fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
The latest update to avoid misspelled revs interfered when we
were not interested in parsing non flags or arguments not meant
for rev-list. This makes these two forms work again:
git whatchanged -- git-fetch-script
We could enable "!def" in the part this change touches to make
the above work without '--', but then it would cause misspelled
v2.6.14..v2.6.16 to be given to diff-tree and defeats the whole
point of the previous fix.
Signed-off-by: Junio C Hamano <junkio@cox.net>
rev-parse.c | diff | blob | history |