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

Re: What's in git.git

From
Linus Torvalds <torvalds@osdl.org>
Date
May 10, 2006, 04:26 UTC
Message-ID
<Pine.LNX.4.64.0605092123520.3718@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.64.0605092117240.3718@g5.osdl.org>
On Tue, 9 May 2006, Linus Torvalds wrote:
Show 5 quoted lines
> 
> I think the new binary diff is non-reversible. That's ok right now, since 
> we don't actually support patching in reverse (if you want to get the 
> reverse patch, you need to _diff_ it in reverse and then patch it that 
> way).

Btw, I don't actually know why we don't support "-R". The way git-apply is written, it should be totally trivial (just switch old/new around for data and line numbers - since it doesn't actually apply the patch directly line by line or anything like that) for a normal patch.

So if I read the binary patch right, the lack of "-R" went from "silly oversight" to "uhhuh, I don't think the patch format supports it".

Maybe it's not a big deal.
			Linus
Previous: Linus TorvaldsNext: Junio C Hamano
Message 4 of 14 in “What's in git.git”
  1. Junio C HamanoMay 10, 2006
  2. Linus TorvaldsMay 10, 2006
  3. Linus TorvaldsMay 10, 2006
  4. Linus TorvaldsMay 10, 2006
  5. Junio C HamanoMay 10, 2006
  6. Linus TorvaldsMay 10, 2006
  7. Randal L. SchwartzMay 10, 2006
  8. Linus TorvaldsMay 10, 2006
  9. Nicolas PitreMay 10, 2006
  10. Alex RiesenMay 10, 2006
  11. Linus TorvaldsMay 10, 2006
  12. Junio C HamanoMay 10, 2006
  13. Martin LanghoffMay 10, 2006
  14. Jakub NarebskiMay 10, 2006

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.