author | Michael J Gruber <git@drmicha.warpmail.net> | |
Mon, 22 Mar 2010 13:36:30 +0000 (14:36 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 24 Mar 2010 18:11:58 +0000 (11:11 -0700) | ||
commit | 7337b138bf47a8f7d8da400710014006386d31cc | |
tree | bb0643126c6768c3d7c9b424650e30e74cb0bf6b | tree | snapshot |
parent | 0b3dcfe721dc8734e2688f936afad055d8541d97 | commit | diff |
rev-list: use default abbrev length when abbrev-commit is in effect
Currently, rev-list has a default of "0" for abbrev which means that
switching on abbreviations with --abbrev-commit has no visible effect,
even though the option is documented.
Set abbrev to DEFAULT_ABBREV so that --abbrev-commit has the same effect
as for log.
Reported-by: Eli Barzilay <eli@barzilay.org>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Currently, rev-list has a default of "0" for abbrev which means that
switching on abbreviations with --abbrev-commit has no visible effect,
even though the option is documented.
Set abbrev to DEFAULT_ABBREV so that --abbrev-commit has the same effect
as for log.
Reported-by: Eli Barzilay <eli@barzilay.org>
Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-rev-list.c | diff | blob | history |