o->result.split_index = o->src_index->split_index;
if (o->result.split_index)
o->result.split_index->refcount++;
- hashcpy(o->result.sha1, o->src_index->sha1);
+ oidcpy(&o->result.oid, &o->src_index->oid);
o->merge_size = len;
mark_all_ce_unused(o->src_index);
add_rejected_path(o, error_type, ce->name);
}
-int verify_uptodate(const struct cache_entry *ce,
- struct unpack_trees_options *o)
+static int verify_uptodate(const struct cache_entry *ce,
+ struct unpack_trees_options *o)
{
if (!o->skip_sparse_checkout && (ce->ce_flags & CE_NEW_SKIP_WORKTREE))
return 0;