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> |
||
---|---|---|
.. | ||
archive.go | ||
copy.go | ||
delete.go | ||
forward.go | ||
invite.go | ||
mark.go | ||
modify-labels.go | ||
move.go | ||
msg.go | ||
pipe.go | ||
read.go | ||
recall.go | ||
reply.go | ||
toggle-threads.go | ||
unsubscribe.go | ||
unsubscribe_test.go | ||
utils.go |