Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t/lib-diff-alternative: abstract away SHA-1-specific constants
[gitweb.git]
/
split-index.c
diff --git
a/split-index.c
b/split-index.c
index 7be5f748a6097ae3b3d8623ccfb42c9b4766ef9c..3eb8ff1b43db284bddac643c270e2148114c4bbf 100644
(file)
--- a/
split-index.c
+++ b/
split-index.c
@@
-238,6
+238,8
@@
void prepare_to_write_split_index(struct index_state *istate)
ALLOC_GROW(entries, nr_entries+1, nr_alloc);
entries[nr_entries++] = ce;
}
+ if (is_null_oid(&ce->oid))
+ istate->drop_cache_tree = 1;
}
}