Skip to content

Commit aa4beff

Browse files
committed
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
2 parents aa8b125 + 7337b13 commit aa4beff

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
@@ -313,7 +313,7 @@ int cmd_rev_list(int argc, const char **argv, const char *prefix)
313313

314314
git_config(git_default_config, NULL);
315315
init_revisions(&revs, prefix);
316-
revs.abbrev = 0;
316+
revs.abbrev = DEFAULT_ABBREV;
317317
revs.commit_format = CMIT_FMT_UNSPECIFIED;
318318
argc = setup_revisions(argc, argv, &revs, NULL);
319319

0 commit comments

Comments
 (0)