From: Thomas Glanzmann Date: Sun, 22 May 2005 17:27:37 GMT Subject: Re: git-diff-files -z output Message-ID: <20050522172737.GB17570@cip.informatik.uni-erlangen.de> In-Reply-To: <7v3bsffadn.fsf@assigned-by-dhcp.cox.net> Hello, > Please see Documentation/diff-format.txt; find the below in the > archive for the full description of why we wanted this format > update. got it thanks. I read that eMail before. But I thought that the tab -> space was a mistake, but it wasn't. So I am fine. I use the following code fragment to match it. Gitweb and co have to be adopted as well: sub process_git_diff_output { my $str = shift || die("Need Input"); my @in = split("\0", $str); my @out = (); while (@in) { my @tmp = split(' ', shift(@in)); push(@tmp, shift(@in), shift(@in)); push(@out, [@tmp]); } return(@out); } Thomas