diff --git a/third_party/upload.py b/third_party/upload.py index 895c8f594..aaf843fb8 100755 --- a/third_party/upload.py +++ b/third_party/upload.py @@ -1595,8 +1595,8 @@ class GitVCS(VersionControlSystem): else: status = "M" - is_binary = self.IsBinaryData(base_content) is_image = self.IsImage(filename) + is_binary = self.IsBinaryData(base_content) or is_image # Grab the before/after content if we need it. # Grab the base content if we don't have it already.