On Mon, Jan 12, 2009 at 10:34 AM, Teemu Likonen <tlikonen@xxxxxx> wrote: > 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)' > you're asking a vim user to use emacs ? ;-) thanks for the suggestion: I'll try it at least, but I think I'll stick to interdiff. -- Christian -- http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside ! -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html