diff options
author | Linus Torvalds <torvalds@osdl.org> | 2006-05-27 12:24:30 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-28 09:45:16 -0700 |
commit | 508d9e372e0e3cfa55a6224eca5e214364fc66b4 (patch) | |
tree | e2c6dde4ecc60dab8883ebbd2e4339cf3b4c4a3d /git-resolve.sh | |
parent | c928c67d67f73f6bf8c427a187bc92a6d77bc731 (diff) | |
download | git-508d9e372e0e3cfa55a6224eca5e214364fc66b4.tar.gz git-508d9e372e0e3cfa55a6224eca5e214364fc66b4.tar.xz |
Fix "--abbrev=xyz" for revision listing
The revision argument parsing was happily parsing "--abbrev", but it
didn't parse "--abbrev=<n>".
Which was hidden by the fact that the diff options _would_ parse
--abbrev=<n>, so it would actually silently parse it, it just
wouldn't use it for the same things that a plain "--abbrev" was
used for.
Which seems a bit insane.
With this patch, if you do "git log --abbrev=10" it will abbreviate the
merge parent commit ID's to ten hex characters, which was probably what
you expected.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-resolve.sh')
0 files changed, 0 insertions, 0 deletions