Re: What should I use instead of git show?
- From
- Mark Hollomon <markhollomon@comcast.net>
- Date
- Mar 14, 2006, 11:49 UTC
- Message-ID
- <4416ADBF.9020906@comcast.net>
- In-Reply-To
- <7vmzftq4r4.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 16 quoted lines
> Mark Hollomon <markhollomon@comcast.net> writes: > >> I must be misunderstanding this: >> >> git whatchanged -p -1 HEAD >> >> in the current git tree results in nothing. only when I get to -5 does it show something. >> >> Is this expected? >> >>> git version >> git version 1.2.4.gea75 > > In this case what matterks is not the version of your git but > what that HEAD is. If it is a merge commit, whatchanged -p does > not show anything by default.
Oh, I see. As a pass through to git-rev-list that makes sense. --max-count is really -max-commits-to-consider (or something like that).
Is there a --max-commits-to-show?
-- Mark Hollomon