Re: potential improvement to 'git log' with a range
- From
Jay Soffian <jaysoffian@gmail.com>
- Date
- Jun 23, 2010, 20:45 UTC
- Message-ID
- <AANLkTikcCQD9rFDscJNpLaRtX64occrXNHmrB-FdW69b@mail.gmail.com>
- In-Reply-To
- <7vmxulebr2.fsf@alter.siamese.dyndns.org>
On Wed, Jun 23, 2010 at 4:26 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 7 quoted lines
> Jay Soffian <jaysoffian@gmail.com> writes: > >> Speaking of which, I'd love a switch to "git show $merge_commit" which >> does "git log $merge_commit^..$merge_commit^2" but I've been too lazy >> to write it. 9/10 times that I use .., it's in this context. :-) > > Doesn't "git show -p --first-parent $merge" work for you?
I don't understand at all. Isn't -p redundant with git show? And how is --first-parent $merge equivalent to $merge_commit^..$merge_commit^2? I literally want a list of all the commits brought in by the merge.
Confusedly yours,
j.