diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-04-22 22:39:26 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-04-22 22:39:26 -0700 |
commit | 5deb15e47e1e14ded0c586da4bff88e33d11f301 (patch) | |
tree | 5403154d77d880f7ac232ea45cf845697a262b8a /builtin-rev-list.c | |
parent | Merge branch 'wp/doc-filter-direction' into maint (diff) | |
parent | rev-list: use default abbrev length when abbrev-commit is in effect (diff) | |
download | tgif-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
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 1db4b4ccc6..51ceb19d88 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); |