From: Junio C Hamano Date: Sun, 22 May 2005 17:49:28 GMT Subject: Re: git-diff-files -z output Message-ID: <7vwtprduc7.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20050522173243.GA18500@cip.informatik.uni-erlangen.de> >>>>> "TG" == Thomas Glanzmann writes: I do not do Porcelain, but... TG> this is better (it strips the colon from the first mode): I think you are also stripping the colon at the beginning of the filename if I am not mistaken. Also posting only this part is not very useful because I cannot tell what parameter this sub is being fed. I am presuming that you are either feeding a single line from DIFF_FORMAT_HUMAN format output, or three lines (unless dealing with 'U' entry in which case you have to do only a single line) from DIFF_FORMAT_MACHINE format output. When in doubt, seeing what diff-helper does would help.