From: Junio C Hamano Date: Tue, 24 May 2005 00:25:32 GMT Subject: Re: [PATCH] diff-raw format update take #2. Message-ID: <7vhdgt1ncz.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <87bcada447378d0173a3c5f165c70b38.ANY@taniwha.stupidest.org> >>>>> "CW" == Chris Wedgwood writes: >> + (1) a colon. >> + (2) mode for "src"; 000000 if creation or unmerged. >> + (3) a space. >> + (4) mode for "dst"; 000000 if deletion or unmerged. >> + (5) a space. >> + (6) sha1 for "src"; 0{40} if creation or unmerged. >> + (7) a space. >> + (8) sha1 for "dst"; 0{40} if creation, unmerged or "look at work tree". >> + (9) status, followed by similarlity index number only for C and R. >> + (10) a tab or a NUL when '-z' option is used. >> + (11) path for "src" CW> What if the path has embedded tabs or spacs? Then you would use '-z'. (10) becomes NUL which your path cannot have inside. So do (12) and (14).