From: Teemu Likonen <tlikonen@iki.fi>
To: "Christian MICHON" <christian.michon@gmail.com>
Cc: "git list" <git@vger.kernel.org>
Subject: Re: patches in context format ?
Date: Mon, 12 Jan 2009 11:34:00 +0200 [thread overview]
Message-ID: <871vv8rhpz.fsf@iki.fi> (raw)
In-Reply-To: <46d6db660901120100g7f62a0c2k68c96cbfc23dab5@mail.gmail.com> (Christian MICHON's message of "Mon\, 12 Jan 2009 10\:00\:11 +0100")
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)'
next prev parent reply other threads:[~2009-01-12 9:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-12 9:00 patches in context format ? Christian MICHON
2009-01-12 9:28 ` Junio C Hamano
2009-01-12 9:52 ` Christian MICHON
2009-01-12 9:34 ` Teemu Likonen [this message]
2009-01-12 9:53 ` Christian MICHON
2009-01-12 9:52 ` Jeff King
2009-01-12 9:57 ` Christian MICHON
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871vv8rhpz.fsf@iki.fi \
--to=tlikonen@iki.fi \
--cc=christian.michon@gmail.com \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.