From: Junio C Hamano Date: Sun, 31 Aug 2008 17:03:53 GMT Subject: Re: Feature request: git-svn dcommit should send deltas upstream Message-ID: <7vsksl2k1y.fsf@gitster.siamese.dyndns.org> In-Reply-To: <87y72dkvq4.fsf@mid.deneb.enyo.de> Florian Weimer writes: > * Florian Weimer: > >>> It's been too long since I've looked at the SVN TxDelta API, but I >>> thought SVN::TxDelta::apply would take care of the delta computation for >>> us... >> >> SVN::Git::Editor::M does not seem to make use of the base text. > > Here's an attempt at delta generation. I don't know if it is entirely > correct, but it does work in the sense that it passes "make test" and > the test cases I reported eariler. > > Sorry for the format. Has anybody got some Emacs code to submit diffs > using Gnus? What's wrong with using "C-x C-i" in the message mode to read format-patch output in (alternatively "C-u M-! git format-patch --stdout -1 $commit" in the message mode), move "Subject: " up and remove the remainder of the fake headers?