From: Teemu Likonen Date: Mon, 12 Jan 2009 09:34:00 GMT Subject: Re: patches in context format ? Message-ID: <871vv8rhpz.fsf@iki.fi> In-Reply-To: <46d6db660901120100g7f62a0c2k68c96cbfc23dab5@mail.gmail.com> Christian MICHON (2009-01-12 10:00 +0100) wrote: > is there another way to translate from "context" to "unified" format ? Well, this is not exactly the best solution for a Vim user but this is the only way I know. Emacs can convert diffs between the formats. You don't even need to launch Emacs, just run it in batch mode: $ emacs --batch -Q --file input.diff \ --eval '(diff-context->unified (point-min) (point-max))' \ --eval '(save-buffer)'