Browse Source

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
maint
Junio C Hamano 15 years ago
parent
commit
aa4beff4b5
  1. 2
      builtin/rev-list.c

2
builtin/rev-list.c

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


Loading…
Cancel
Save