Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
commit: add generation number to struct commit
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index a1fbc608bc242436eaa1561df43063a1c7c1d6aa..f4d30d2f3da84f9f18de4fbf16ada6f96c9cb836 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-1064,8
+1064,8
@@
static void make_cover_letter(struct rev_info *rev, int use_stdout,
diff_setup_done(&opts);
- diff_tree_oid(
&origin->maybe_tree->object.oid
,
-
&head->maybe_tree->object.oid
,
+ diff_tree_oid(
get_commit_tree_oid(origin)
,
+
get_commit_tree_oid(head)
,
"", &opts);
diffcore_std(&opts);
diff_flush(&opts);