Merge branch 'jc/log-p-cc'
commit2ba6183b0b809ff10ec212e1f7b4c9f72fc076ae
authorJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2015 22:38:59 +0000 (31 15:38 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 31 Aug 2015 22:38:59 +0000 (31 15:38 -0700)
tree3dac9e02ca6ab1f7e03fae8514777b8e49377065
parent7b7c10bf5e38ca8fe06ab80b073408e1dc6761d7
parent3acf8dd8879c638a517e3810d1df872adfbaaf30
Merge branch 'jc/log-p-cc'

"git log --cc" did not show any patch, even though most of the time
the user meant "git log --cc -p -m" to see patch output for commits
with a single parent, and combined diff for merge commits.  The
command is taught to DWIM "--cc" (without "--raw" and other forms
of output specification) to "--cc -p -m".

* jc/log-p-cc:
  builtin/log.c: minor reformat
  log: show merge commit when --cc is given
  log: when --cc is given, default to -p unless told otherwise
  log: rename "tweak" helpers