Re: how do you review auto-resolved files
- From
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
- Date
- Feb 22, 2012, 15:24 UTC
- Message-ID
- <4F4508CA.9050707@in.waw.pl>
- In-Reply-To
- <7vhayjga0a.fsf@alter.siamese.dyndns.org>
On 02/21/2012 10:19 PM, Junio C Hamano wrote:
Show 6 quoted lines
> Imagine that you are the maintainer of the mainline and are reviewing the > work made on a side branch that you just merged, but pretend that the > contribution came as a patch instead. How would you assess the damage to > your mainline? > > You would use "git show --first-parent $commit" for that.
Hi, it seems that git show --first-parent is not documented in the man page. This option is only documented for rev-list and log. I think that - this example should land in Examples in git-show.txt - --first-parent should be documented in git-show.txt because it (at least to me, but I guess that for other people also) it isn't immediately obvious that it means to _diff_ with the first parent.
-- Zbyszek