aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-09-03 09:23:37 +0200
committerThomas Gleixner <tglx@linutronix.de>2019-09-03 09:23:37 +0200
commit5d83c7a502e221ffa9f32738cc31421157c976b6 (patch)
tree628ee5b502d33f0b8461a97a75777fe09d0dc7b5
parentffcfdbbf9c63ac2b10976970171ce07f20455e63 (diff)
downloadquilttools-5d83c7a502e221ffa9f32738cc31421157c976b6.tar.gz
mb2q: Do not assume that diffs start with 'a/'
Allow other p1 prefixes than 'a/' Reported-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
-rwxr-xr-xmb2q1
1 files changed, 1 insertions, 0 deletions
diff --git a/mb2q b/mb2q
index 291a4b6..9c2a659 100755
--- a/mb2q
+++ b/mb2q
@@ -33,6 +33,7 @@ re_split_at_patch = [
re.compile('\ndiff --git a/.* b/.*\n'),
re.compile('\n--- a/.*\n'),
re.compile('\n--- dev/null.*\n'),
+ re.compile('\n--- .*/.*\n'),
]
def split_at_patch(text):