summaryrefslogtreecommitdiff
path: root/builtin/rev-list.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-04-03 19:28:42 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-04-03 19:28:42 (GMT)
commitaa4beff4b5403a6d031d6be3d86f9ba27534dd53 (patch)
treeb1585bb89ddce98d3338036fede834308166cea1 /builtin/rev-list.c
parentaa8b12505b4b8365ba96236a0e7698959063765e (diff)
parent7337b138bf47a8f7d8da400710014006386d31cc (diff)
downloadgit-aa4beff4b5403a6d031d6be3d86f9ba27534dd53.zip
git-aa4beff4b5403a6d031d6be3d86f9ba27534dd53.tar.gz
git-aa4beff4b5403a6d031d6be3d86f9ba27534dd53.tar.bz2
Merge branch 'mg/use-default-abbrev-length-in-rev-list'
* mg/use-default-abbrev-length-in-rev-list: rev-list: use default abbrev length when abbrev-commit is in effect
Diffstat (limited to 'builtin/rev-list.c')
-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 5679170..eb8e2c2 100644
--- a/builtin/rev-list.c
+++ b/builtin/rev-list.c
@@ -313,7 +313,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);