c816103a24
Git send-email Message-Id headers have the following format: DATETIME.PID-NUM-COMMITTER Unfortunately, when there are more than 9 patches, the patch number (NUM) is not zero-padded which makes ascii sorting invalid, e.g.: 1 10 11 12 2 3 4 5 6 7 8 9 Instead of: 1 2 3 4 5 6 7 8 9 10 11 12 We need the patches to be ordered correctly to pipe them to git am. Make sure to pad the patch number with zero characters to allow series of up to 999 patches. Only re-order messages before piping them if all the Message-Id headers look like git-send-email headers. Link: https://github.com/git/git/blob/v2.36.0/git-send-email.perl#L1197 Signed-off-by: Robin Jarry <robin@jarry.cc> Tested-by: Koni Marti <koni.marti@gmail.com> |
||
---|---|---|
.. | ||
account | ||
compose | ||
mode | ||
msg | ||
msgview | ||
terminal | ||
cd.go | ||
choose.go | ||
commands.go | ||
ct.go | ||
exec.go | ||
global.go | ||
help.go | ||
history.go | ||
move-tab.go | ||
new-account.go | ||
next-tab.go | ||
pin-tab.go | ||
prompt.go | ||
pwd.go | ||
quit.go | ||
set.go | ||
term.go | ||
util.go |