summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index 8b8f8db8..cea88f39 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -625,7 +625,7 @@ class Repo(object):
filename = line[len(prefix):].rstrip('\n')
# Special characters are escaped
if filename[0] == filename[-1] == '"':
- filename = filename[1:-1].decode('string_escape')
+ filename = filename[1:-1].decode('string_escape').decode(defenc)
untracked_files.append(filename)
finalize_process(proc)
return untracked_files