Discussion:
Using "git am" from Gnus
Stefan Monnier
2015-04-02 02:41:05 UTC
Permalink
So, here I am, with a series of patches sent from Git, and I want to
apply them to some Git tree.

Has someone written a command to automate the process of saving the
email and then running "git am" on the result?

Ideally, I should be able to just select all the relevant email in the
*Summary* buffer, indicate where is the Git tree to which those patches
should be applied, and then let the command do its magic (which might
include re-ordering the emails).


Stefan
Andreas Schwab
2015-04-02 18:39:50 UTC
Permalink
Post by Stefan Monnier
Ideally, I should be able to just select all the relevant email in the
*Summary* buffer, indicate where is the Git tree to which those patches
should be applied, and then let the command do its magic (which might
include re-ordering the emails).
Process mark the mails in the right order (probably sorting by subject
first), pipe them to git am.

Andreas.
--
Andreas Schwab, ***@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Loading...