From: Liu Yubao Date: Tue, 07 Nov 2006 12:08:11 GMT Subject: Re: If merging that is really fast forwarding creates new commit [Was: Re: how to show log for only one branch] Message-ID: <4550772B.1040308@gmail.com> In-Reply-To: <455055DD.2090903@shadowen.org> Andy Whitcroft wrote: > > One thing to remember, when you merge the destination into which you > merge will be HEAD^1, so by just following that you can get junio's view > of his branch as he made it. > > This is doesn't terminate properly, sucks the performance of your > machine and generally should be erased rather than run; but you get the > idea: > > let n=0 > while git-show --pretty=one -s "next~$n" > do > let "n=$n+1" > done | less > > -apw > This is not a right way to view a branch track in git, see Junio's explanation