author | Björn Steinbrink <B.Steinbrink@gmx.de> | |
Sat, 26 Jul 2008 16:37:56 +0000 (18:37 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 27 Jul 2008 21:14:01 +0000 (14:14 -0700) | ||
commit | 2122f8b963d49a59762e121c2da571c2348dcce3 | |
tree | 1a147e9da6e34a121fe2187b2cdf47eaa4522cb9 | tree | snapshot |
parent | 47c6ef1c8def9a20b4ff40825456b45f5e63b51f | commit | diff |
rev-parse: Add support for the ^! and ^@ syntax
Those shorthands are explained in the rev-parse documentation but were not
actually supported by rev-parse itself.
gitk internally uses rev-parse to interpret its command line arguments, and
being able to use these "limit with parents" syntax is handy there.
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Those shorthands are explained in the rev-parse documentation but were not
actually supported by rev-parse itself.
gitk internally uses rev-parse to interpret its command line arguments, and
being able to use these "limit with parents" syntax is handy there.
Signed-off-by: Björn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rev-parse.c | diff | blob | history | |
t/t6101-rev-parse-parents.sh | diff | blob | history |