diff options
Diffstat (limited to 'lib/git/diff.py')
-rw-r--r-- | lib/git/diff.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/git/diff.py b/lib/git/diff.py index 0dd4ed6e..9df0c499 100644 --- a/lib/git/diff.py +++ b/lib/git/diff.py @@ -343,6 +343,7 @@ class Diff(object): continue # END its not a valid diff line old_mode, new_mode, a_blob_id, b_blob_id, change_type, path = line[1:].split(None, 5) + path = path.strip() a_path = path b_path = path deleted_file = False |