Skip to content

Commit 5deb15e

Browse files
committed
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
2 parents 0737975 + 7337b13 commit 5deb15e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-rev-list.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
316316

317317
git_config(git_default_config, NULL);
318318
init_revisions(&revs, prefix);
319-
revs.abbrev = 0;
319+
revs.abbrev = DEFAULT_ABBREV;
320320
revs.commit_format = CMIT_FMT_UNSPECIFIED;
321321
argc = setup_revisions(argc, argv, &revs, NULL);
322322

0 commit comments

Comments
 (0)