diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-20 12:53:09 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-20 12:53:09 -0700 |
commit | 316fa401e1c953ffc80533aaf6839817595cdd77 (patch) | |
tree | 6ad48c40abadde6c9c7d44a9d03246da65f94f25 /builtin/commit.c | |
parent | 7d61b31b67a470c7008a989901d3efa1e6533dbe (diff) | |
parent | 7f1592db5d4cba2b3de3a1ce46eb8c05bd33e0a1 (diff) | |
download | git-316fa401e1c953ffc80533aaf6839817595cdd77.tar.gz |
Merge branch 'jn/fix-abbrev' into maint
* jn/fix-abbrev:
examples/commit: use --abbrev for commit summary
checkout, commit: remove confusing assignments to rev.abbrev
archive: abbreviate substituted commit ids again
Diffstat (limited to 'builtin/commit.c')
-rw-r--r-- | builtin/commit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin/commit.c b/builtin/commit.c index 2bb30c0e80..c4a577d5c5 100644 --- a/builtin/commit.c +++ b/builtin/commit.c @@ -1163,7 +1163,6 @@ static void print_summary(const char *prefix, const unsigned char *sha1) init_revisions(&rev, prefix); setup_revisions(0, NULL, &rev, NULL); - rev.abbrev = 0; rev.diff = 1; rev.diffopt.output_format = DIFF_FORMAT_SHORTSTAT | DIFF_FORMAT_SUMMARY; |