Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
diff --stat: do not do its own three-dashes.
[gitweb.git]
/
git.c
diff --git
a/git.c
b/git.c
index 78ed403ed121a84c3efe3a57fa7c24486d724953..61265a85661a3b56c6ad437099ab0c85e9fbe158 100644
(file)
--- a/
git.c
+++ b/
git.c
@@
-388,8
+388,10
@@
static int cmd_log(int argc, const char **argv, char **envp)
pretty_print_commit(commit_format, commit, ~0, buf,
LOGSIZE, abbrev);
printf("%s\n", buf);
- if (do_diff)
+ if (do_diff) {
+ printf("---\n");
log_tree_commit(&opt, commit);
+ }
shown = 1;
free(commit->buffer);
commit->buffer = NULL;