aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-04-22 22:39:26 -0700
committerJunio C Hamano <gitster@pobox.com>2010-04-22 22:39:26 -0700
commit5deb15e47e1e14ded0c586da4bff88e33d11f301 (patch)
tree5403154d77d880f7ac232ea45cf845697a262b8a
parent0737975d161a557da95efa67decae64aa9037b6d (diff)
parent7337b138bf47a8f7d8da400710014006386d31cc (diff)
downloadgit-5deb15e47e1e14ded0c586da4bff88e33d11f301.tar.gz
git-5deb15e47e1e14ded0c586da4bff88e33d11f301.tar.xz
Merge branch 'mg/use-default-abbrev-length-in-rev-list' into maint
* mg/use-default-abbrev-length-in-rev-list: rev-list: use default abbrev length when abbrev-commit is in effect
-rw-r--r--builtin-rev-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-rev-list.c b/builtin-rev-list.c
index 1db4b4ccc..51ceb19d8 100644
--- a/builtin-rev-list.c
+++ b/builtin-rev-list.c
@@ -316,7 +316,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
git_config(git_default_config, NULL);
init_revisions(&revs, prefix);
- revs.abbrev = 0;
+ revs.abbrev = DEFAULT_ABBREV;
revs.commit_format = CMIT_FMT_UNSPECIFIED;
argc = setup_revisions(argc, argv, &revs, NULL);