| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 55d40df commit cdf7c5a
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -208,8 +208,8 @@ class Diff(object): | |||
| 208 | 208 | (?:^deleted[ ]file[ ]mode[ ](?P<deleted_file_mode>.+)(?:\n|$))? | |
| 209 | 209 | (?:^index[ ](?P<a_blob_id>[0-9A-Fa-f]+) | |
| 210 | 210 | \.\.(?P<b_blob_id>[0-9A-Fa-f]+)[ ]?(?P<b_mode>.+)?(?:\n|$))? | |
| 211 | - (?:^---[ ](?:a/)?(?P<a_path>.*)(?:\n|$))? | ||
| 212 | - (?:^\+\+\+[ ](?:b/)?(?P<b_path>.*)(?:\n|$))? | ||
| 211 | + (?:^---[ ](?:a/)?(?P<a_path>[^\t\n\r\f\v]*)[\t\r\f\v]*(?:\n|$))? | ||
| 212 | + (?:^\+\+\+[ ](?:b/)?(?P<b_path>[^\t\n\r\f\v]*)[\t\r\f\v]*(?:\n|$))? | ||
| 213 | 213 | """.encode('ascii'), re.VERBOSE | re.MULTILINE) | |
| 214 | 214 | # can be used for comparisons | |
| 215 | 215 | NULL_HEX_SHA = "0" * 40 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments