<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/t/t4013/diff.show_--first-parent_master, branch v2.26.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v2.26.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v2.26.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2010-03-09T09:11:19Z</updated>
<entry>
<title>show --first-parent/-m: do not default to --cc</title>
<updated>2010-03-09T09:11:19Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-03-09T08:22:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=2bf6587349e31b582dae47954b1a334052230e28'/>
<id>urn:sha1:2bf6587349e31b582dae47954b1a334052230e28</id>
<content type='text'>
Given that "git show" always shows some diff and does not walk the history
by default, it is natural to expect "git show --first-parent" to show the
difference between the given commit and its first parent.  It also would
be natural, given that "--cc" is the default, "git show -m" to show
pairwise difference from each of the parents.

We however always defaulted to --cc and there was no way to turn it off.

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
</feed>
