git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] diff-raw format update take #2.

From
Linus Torvalds <torvalds@osdl.org>
Date
May 24, 2005, 00:51 UTC
Message-ID
<Pine.LNX.4.58.0505231747300.2307@ppc970.osdl.org>
In-Reply-To
<046ec1d00820537103092ed264f81f65.IBX@taniwha.stupidest.org>
On Mon, 23 May 2005, Chris Wedgwood wrote:
> 
> Sure, I guess I meant to what would happen when not using '-z'?  Will
> something notice this early on barf and tell me to use '-z' or will
> BadThings(tm) just come bite me at some (possibly) later stage?

Well, normally you'd not use the faw format, and the worst that can happen is likely that the pathnames in the diff are screwed up.

Side note: files with spaces/tabs in the names have serious problems in diffs anyway, because parsing the name ends up becoming largely random at that point. Sad. The problem there is that the format for filenames in diffs is not very well-specified.

THAT is a much bigger problem than the raw diff format, since that actually ends up interfering with interoperability.

The same goes for broken DOS CR-NL text-files, btw. If anybody ever ports git to the crap that is DOS/Windows (and I assume NT does it too), they'll have endless problems with interoperating with sane systems.

		Linus
Previous: Linus TorvaldsNext: Junio C Hamano
Message 18 of 20 in “Make sure diff-helper can tell rename/copy in the new diff-raw format.”
  1. Make sure diff-helper can tell rename/copy in the new diff-raw format.Junio C Hamano, May 23, 2005
  2. Linus TorvaldsMay 23, 2005
  3. Junio C HamanoMay 23, 2005
  4. Linus TorvaldsMay 23, 2005
  5. Linus TorvaldsMay 23, 2005
  6. diff-raw format update take #2.Junio C Hamano, May 23, 2005
  7. diff-raw format update take #2.Junio C Hamano, May 23, 2005
  8. Chris WedgwoodMay 24, 2005
  9. Junio C HamanoMay 24, 2005
  10. Chris WedgwoodMay 24, 2005
  11. Junio C HamanoMay 24, 2005
  12. Linus TorvaldsMay 24, 2005
  13. Chris WedgwoodMay 24, 2005
  14. David LangMay 24, 2005
  15. Chris WedgwoodMay 24, 2005
  16. Thomas GlanzmannMay 24, 2005
  17. Linus TorvaldsMay 24, 2005
  18. Linus TorvaldsMay 24, 2005
  19. Junio C HamanoMay 26, 2005
  20. Thomas GlanzmannMay 24, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.