8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44496c6 commit 14d7034Copy full SHA for 14d7034
git/diff.py
@@ -237,7 +237,7 @@ class Diff(object):
237
# precompiled regex
238
re_header = re.compile(br"""
239
^diff[ ]--git
240
- [ ](?P<a_path_fallback>"?a/.+?"?)[ ](?P<b_path_fallback>"?b/.+?"?)\n
+ [ ](?P<a_path_fallback>"?[ab]/.+?"?)[ ](?P<b_path_fallback>"?[ab]/.+?"?)\n
241
(?:^old[ ]mode[ ](?P<old_mode>\d+)\n
242
^new[ ]mode[ ](?P<new_mode>\d+)(?:\n|$))?
243
(?:^similarity[ ]index[ ]\d+%\n
0 commit comments