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