discussion and development of piem
 help / color / mirror / code / Atom feed
From: Leo <git@relevant-information.com>
To: piem@inbox.kyleam.com
Subject: Could not find am-ready mbox for current buffer
Date: Sat, 03 Feb 2024 11:09:49 +0100	[thread overview]
Message-ID: <87fry9hn9u.fsf@> (raw)


Hello,

This is really just for future reference, in case someone else stumbles
upon this.  I've resolved it for myself and am just documenting what the
issue was.


I found that for a specific email with a patch piem would just refuse to
apply it with the message "Could not find am-ready mbox for current
buffer", even if just piping the email through `git am` would work.
Turns out the issue was with piem-patch-subject-re.  The patch was sent
with a different subject prefix (the --subject-prefix option in
git-send-email) than the default, which didn't match
piem-patch-subject-re.

For example: 

> Subject: [RFC] add some code

So if you, like me, just can't figure out why piem is angry with just
this specific patch, consider adjusting that variable.

Cheers,

Leo

             reply	other threads:[~2024-02-03 10:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-03 10:09 Leo [this message]
2024-02-04 19:54 ` [PATCH] *-am-ready-mbox: Don't require PATCH prefix Kyle Meyer
2024-02-04 20:12   ` Kyle Meyer
     [not found]   ` <87sf272ojs.fsf@>
2024-02-06  4:08     ` Kyle Meyer
2024-02-12  3:44       ` Kyle Meyer

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

  List information: https://git.kyleam.com/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fry9hn9u.fsf@ \
    --to=git@relevant-information.com \
    --cc=piem@inbox.kyleam.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.kyleam.com/piem/

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 read-only IMAP folder(s) and NNTP newsgroup(s).