diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2019-09-03 09:23:37 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-09-03 09:23:37 +0200 |
commit | 5d83c7a502e221ffa9f32738cc31421157c976b6 (patch) | |
tree | 628ee5b502d33f0b8461a97a75777fe09d0dc7b5 | |
parent | ffcfdbbf9c63ac2b10976970171ce07f20455e63 (diff) | |
download | quilttools-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-x | mb2q | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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): |