diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-04-03 12:28:42 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-03 12:28:42 -0700 |
commit | aa4beff4b5403a6d031d6be3d86f9ba27534dd53 (patch) | |
tree | b1585bb89ddce98d3338036fede834308166cea1 /builtin/rev-list.c | |
parent | Merge branch 'mg/maint-send-email-lazy-editor' (diff) | |
parent | rev-list: use default abbrev length when abbrev-commit is in effect (diff) | |
download | tgif-aa4beff4b5403a6d031d6be3d86f9ba27534dd53.tar.xz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/rev-list.c b/builtin/rev-list.c index 5679170e82..eb8e2c2056 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); |