diff options
-rw-r--r-- | gbp/git/repository.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gbp/git/repository.py b/gbp/git/repository.py index 20251a00..d7eb271e 100644 --- a/gbp/git/repository.py +++ b/gbp/git/repository.py @@ -1837,7 +1837,8 @@ class GitRepository(object): filepath = elements.pop(0) # Expect to have two filenames for renames and copies if status in ['R', 'C']: - filepath = elements.pop(0) + '\x00' + filepath + result[status].append(filepath) + filepath = elements.pop(0) result[status].append(filepath) return result |