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