diff --git a/third_party/upload.py b/third_party/upload.py index 74b97b6a0..fa4133c02 100755 --- a/third_party/upload.py +++ b/third_party/upload.py @@ -1659,7 +1659,8 @@ class GitVCS(VersionControlSystem): if filename not in self.hashes: # If a rename doesn't change the content, we never get a hash. base_content = RunShell( - ["git", "show", "HEAD:" + filename], silent_ok=True) + ["git", "show", "HEAD:" + filename], silent_ok=True, + universal_newlines=False) elif not hash_before: status = "A" base_content = ""