ref: 8bb01b6811d2e247e1dbbae1cc9b9543b31778fc
parent: 04dcec15808653507789cf4d2a50a9e1ff7f26cc
author: kvik <kvik@a-b.xyz>
date: Thu Apr 9 18:19:15 EDT 2020
Recognize numbered patches in git/import
--- a/import
+++ b/import
@@ -41,7 +41,7 @@
date=$0
}
state=="headers" && /^Subject:/{
- sub(/^Subject:[ \t]*(\[PATCH\])*[ \t]*/, "", $0);
+ sub(/^Subject:[ \t]*(\[PATCH( [0-9]+\/[0-9]+)?\])*[ \t]*/, "", $0);
gotmsg = 1
print > "/env/msg"
}