Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cache-tree.h: drop extern from function declaration
[gitweb.git]
/
fast-import.c
diff --git
a/fast-import.c
b/fast-import.c
index 3ea5781029de661fb083fcd99acbae7c39c22904..89bb0c9db3de9b380aad53709d882cb04f7d054a 100644
(file)
--- a/
fast-import.c
+++ b/
fast-import.c
@@
-1076,7
+1076,7
@@
static int store_object(
return 1;
}
- if (last && last->data.buf && last->depth < max_depth
+ if (last && last->data.
len && last->data.
buf && last->depth < max_depth
&& dat->len > the_hash_algo->rawsz) {
delta_count_attempts_by_type[type]++;