Re: What should I use instead of git show?
- From
Junio C Hamano <junkio@cox.net>
- Date
- Mar 13, 2006, 23:55 UTC
- Message-ID
- <7vmzftq4r4.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <4415FFB8.3000001@comcast.net>
Mark Hollomon <markhollomon@comcast.net> writes:
Show 10 quoted lines
> 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.