Index: third_party/upload.py |
diff --git a/third_party/upload.py b/third_party/upload.py |
index c7899c70a93dbe87f48f20286434e1910e2d773a..14da022c3b633e2fb3360ab6084c03e63ae11281 100755 |
--- a/third_party/upload.py |
+++ b/third_party/upload.py |
@@ -1385,8 +1385,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 |
cbiesinger
2013/05/08 04:54:15
I'm sort of confused by this code, base_content is
|
# Grab the before/after content if we need it. |
# Grab the base content if we don't have it already. |