Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/fetch-sorted' into next
[gitweb.git]
/
read-tree.c
diff --git
a/read-tree.c
b/read-tree.c
index a3ada55c1571e52fb3edf7c181ebfd000d7b8db6..55f7f87133c4a310855fe478452dbc51f6d28fca 100644
(file)
--- a/
read-tree.c
+++ b/
read-tree.c
@@
-801,7
+801,7
@@
static void prime_cache_tree_rec(struct cache_tree *it, struct tree *tree)
{
struct tree_entry_list *ent;
int cnt;
-
+
memcpy(it->sha1, tree->object.sha1, 20);
for (cnt = 0, ent = tree->entries; ent; ent = ent->next) {
if (!ent->directory)