diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-08-09 22:07:04 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-08-10 21:07:32 -0400 |
commit | 0ee97e900f7daef3995284d0b4312c371b3427fa (patch) | |
tree | 275e3cc6d9bd82e8f2b7802dd11dc794af0fbabe /piem-b4.el | |
parent | 118643c2985c0113c179d734356fc1b9e082b4c5 (diff) | |
download | piem-0ee97e900f7daef3995284d0b4312c371b3427fa.tar.gz |
Explicitly specify --patch-format in git-am calls
The sources of mbox patches fed to git-am are 1) threads downloaded
from a public-inbox HTTP instance, 2) mboxes generated via
piem-mid-to-thread-functions, and 3) those generated via
piem-am-ready-mbox-functions. The first source should always be
mboxrd. For the second, piem-notmuch-mid-to-thread is currently the
only function suitable for piem-mid-to-thread-functions, and it uses
mboxrd. The third source is a mix between mbox and mboxrd.
By default, git-am tries to auto-detect the patch format, but let's
explicitly specify --patch-format to avoid any incorrect guesses.
Message-Id: <20200810020704.30150-1-kyle@kyleam.com>
Diffstat (limited to 'piem-b4.el')
-rw-r--r-- | piem-b4.el | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -126,6 +126,7 @@ am-ready mbox, feed the result to `git am'." (piem-b4--get-am-files mid coderepo args)) (default-directory coderepo)) (piem-am mbox-file + nil (with-temp-buffer (insert-file-contents (or cover mbox-file)) (piem-extract-mbox-info)) |