Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
log: teach "terminator" vs "separator" mode to "--pretty=format"
[gitweb.git]
/
builtin-commit.c
diff --git
a/builtin-commit.c
b/builtin-commit.c
index 660a3458f7f4ef24dfa4fd5bdf902174da1eefb4..8bf35033e473bccd92d7a3f844904889f698b591 100644
(file)
--- a/
builtin-commit.c
+++ b/
builtin-commit.c
@@
-810,7
+810,7
@@
static void print_summary(const char *prefix, const unsigned char *sha1)
rev.verbose_header = 1;
rev.show_root_diff = 1;
-
rev.commit_format = get_commit_format("format:%h: %s"
);
+
get_commit_format("format:%h: %s", &rev
);
rev.always_show_header = 0;
rev.diffopt.detect_rename = 1;
rev.diffopt.rename_limit = 100;