Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
rev-list: disable object/refname ambiguity check with --stdin
[gitweb.git]
/
log-tree.c
diff --git
a/log-tree.c
b/log-tree.c
index a49d8e895d3ad24f00e8504ec3eccfbddead6b4c..8534d91826f3cf05f810a28728ee8bd51649d819 100644
(file)
--- a/
log-tree.c
+++ b/
log-tree.c
@@
-738,7
+738,7
@@
static int log_tree_diff(struct rev_info *opt, struct commit *commit, struct log
sha1 = commit->tree->object.sha1;
/* Root commit? */
- parents =
commit->parents
;
+ parents =
get_saved_parents(opt, commit)
;
if (!parents) {
if (opt->show_root_diff) {
diff_root_tree_sha1(sha1, "", &opt->diffopt);