From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: ding@gnus.org
Subject: Re: Applying patches sent via email
Date: Tue, 13 Jul 2021 23:50:50 +0200 [thread overview]
Message-ID: <87bl75opc5.fsf@gnus.org> (raw)
In-Reply-To: <87h7gxao1y.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Tue, 13 Jul 2021 14:42:17 -0700")
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
> I've always been slightly annoyed at the hoops I have to jump through to
> apply git patches that I get in email to various repos that I have on
> disk. I'm starting to realize that it's actually easier than I thought
> (specifically, "git am" is much more capable than I realized), and I'm
> thinking that there's only a couple bits of glue missing, which means
> someone has probably already done this.
If it's a patch generated from Git, then "git am" does indeed work
fine. For other random patches, I use `debbugs-gnu-apply-patch' (from
the debbugs package), which tries to do a bunch of heuristics that...
sometimes work OK? I mean, I tweaked it a lot over the years, and it's
geared towards Emacs, but...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-07-13 21:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 21:42 Eric Abrahamsen
2021-07-13 21:50 ` Lars Ingebrigtsen [this message]
2021-07-13 22:38 ` Eric Abrahamsen
2021-07-15 4:33 ` Lars Ingebrigtsen
2021-07-15 16:15 ` Štěpán Němec
2021-07-15 17:37 ` Eric Abrahamsen
2021-07-15 20:06 ` Tassilo Horn
2021-07-16 14:47 ` Eric Abrahamsen
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=87bl75opc5.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=ding@gnus.org \
--cc=eric@ericabrahamsen.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).