Re: [PATCH] diff-raw format update take #2.
- From
- Chris Wedgwood <cw@f00f.org>
- Date
- May 24, 2005, 00:12 UTC
- Message-ID
- <87bcada447378d0173a3c5f165c70b38.ANY@taniwha.stupidest.org>
- In-Reply-To
- <7vy8a51uay.fsf_-_@assigned-by-dhcp.cox.net>
Show 11 quoted lines
> + (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"What if the path has embedded tabs or spacs? I skimmed over the patch but didn't see anything to deal with this (I didn't apply it and check the result though it might have been outside the patch).