Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
examples/commit: use --abbrev for commit summary
[gitweb.git]
/
builtin
/
commit.c
diff --git
a/builtin/commit.c
b/builtin/commit.c
index a78dbd83bf04c7080487b8508321d79d848e9b1f..279cfc1b5df89d8a58a25ecf5a9098cb761a91bf 100644
(file)
--- 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;