aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorRobin Jarry <robin@jarry.cc>2022-10-23 16:01:21 +0200
committerRobin Jarry <robin@jarry.cc>2022-10-25 22:24:31 +0200
commita381630604066cde5b791bfadb92de8c35e1cd1c (patch)
treee90bf4000c5b79971438630edb7da4e955952391 /CHANGELOG.md
parenta820e12d0f471e6768b0b198ed93fe5c244d2000 (diff)
downloadaerc-a381630604066cde5b791bfadb92de8c35e1cd1c.tar.gz
pipe: reorder patches based on email subjects
The Message-Id header cannot be relied upon as users can tweak it before sending. The subject seems a more reliable basis to reorder patches. Change the logic of sorting. Previously, all messages were required to look like patches to be sorted. Now if at least one message looks like a patch, all messages will be sorted by Subject before piping them. Since `git am` ignores non-patch messages, it should allow piping series of emails including reviews and comments without getting confusing errors. I have tested that this works on multiple series that appeared out of order in my INBOX with the following command (after marking the messages): :pipe -m sed -n 's/^Subject: //p' Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 4f144805..9e58e273 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased](https://git.sr.ht/~rjarry/aerc/log/master)
+### Fixed
+
+- `:pipe -m git am -3` on patch series when `Message-Id` headers have not been
+ generated by `git send-email`.
+
## [0.13.0](https://git.sr.ht/~rjarry/aerc/refs/0.13.0) - 2022-10-20
### Added