summaryrefslogtreecommitdiff
blob: a7f59e0b04dc6b8287a4e0bbd1c6eea2214cbe8b (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/git-restore-mtime	2016-01-27 14:05:09.000000000 -0800
+++ b/git-restore-mtime	2016-01-27 21:51:17.000000000 -0800
@@ -150,7 +150,7 @@
                           ['--'] + args.pathspec,
                           stdout=subprocess.PIPE)
 for line in gitobj.stdout:
-    lsfileslist.add(os.path.relpath(line.strip(), workdir))
+    lsfileslist.add(os.path.relpath(line.strip().decode(), workdir))
 
 # List files matching user pathspec, relative to current directory
 # git commands always print paths relative to work tree root