Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Sync with Git 2.17.1
[gitweb.git]
/
sha1-file.c
diff --git
a/sha1-file.c
b/sha1-file.c
index f66059ed7dd9aa8040568094a7ad6fa316d18e55..e47098eff2828c573a4a2eb3cce3dc7a5520b3e5 100644
(file)
--- a/
sha1-file.c
+++ b/
sha1-file.c
@@
-2232,7
+2232,7
@@
int read_loose_object(const char *path,
goto out;
}
- if (*type == OBJ_BLOB) {
+ if (*type == OBJ_BLOB
&& *size > big_file_threshold
) {
if (check_stream_sha1(&stream, hdr, *size, path, expected_oid->hash) < 0)
goto out;
} else {