From: Junio C Hamano Date: Thu, 26 Jul 2007 02:54:44 GMT Subject: Re: Bug in gitk search box Message-ID: <7vtzrrc1sb.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <18087.60033.676105.538784@cargo.ozlabs.ibm.com> Paul Mackerras writes: > It turns out that this problem crept in when I changed from using git > rev-list --header to git log -z --pretty=raw, and the thing that > causes it is that git rev-list puts a null character after every > commit, while git log only puts a null between commits, i.e., there > isn't a null after the last commit. > > Junio, is this behaviour deliberate? There was a recent message from Linus on the list, stating that NUL in -z format is inter-record separator, not after-record terminator.