Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
configure: fix a regression in PCRE v1 detection
[gitweb.git]
/
match-trees.c
diff --git
a/match-trees.c
b/match-trees.c
index afb771c4f50cbb4517b5bc63096d4a0b9fb73346..0ca99d51626f49b5d4a88b9edc43c533c970dd0e 100644
(file)
--- a/
match-trees.c
+++ b/
match-trees.c
@@
-214,7
+214,7
@@
static int splice_tree(const struct object_id *oid1, const char *prefix,
rewrite_with = oid2;
}
oidcpy(rewrite_here, rewrite_with);
- status = write_
sha1_file(buf, sz, tree_type, result->hash
);
+ status = write_
object_file(buf, sz, tree_type, result
);
free(buf);
return status;
}