You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-vcs/git-tools/files/git-tools-2015_p20151225-py...

12 lines
533 B

--- 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