Merge branch 'tr/log-full-diff-keep-true-parents'
authorJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 21:33:16 +0000 (14:33 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Sep 2013 21:33:16 +0000 (14:33 -0700)
Output from "git log --full-diff -- <pathspec>" looked strange,
because comparison was done with the previous ancestor that touched
the specified <pathspec>, causing the patches for paths outside the
pathspec to show more than the single commit has changed.

Tweak "git reflog -p" for the same reason using the same mechanism.

* tr/log-full-diff-keep-true-parents:
log: use true parents for diff when walking reflogs
log: use true parents for diff even when rewriting

1  2 
combine-diff.c
commit.c
commit.h
diff --cc combine-diff.c
Simple merge
diff --cc commit.c
Simple merge
diff --cc commit.h
Simple merge