aboutsummaryrefslogtreecommitdiff
path: root/notes-merge.c
diff options
context:
space:
mode:
Diffstat (limited to 'notes-merge.c')
-rw-r--r--notes-merge.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/notes-merge.c b/notes-merge.c
index 586939939f..b9322abbcb 100644
--- a/notes-merge.c
+++ b/notes-merge.c
@@ -359,9 +359,9 @@ static int ll_merge_in_worktree(struct notes_merge_options *o,
mmfile_t base, local, remote;
enum ll_merge_result status;
- read_mmblob(&base, &p->base);
- read_mmblob(&local, &p->local);
- read_mmblob(&remote, &p->remote);
+ read_mmblob(&base, the_repository->objects, &p->base);
+ read_mmblob(&local, the_repository->objects, &p->local);
+ read_mmblob(&remote, the_repository->objects, &p->remote);
status = ll_merge(&result_buf, oid_to_hex(&p->obj), &base, NULL,
&local, o->local_ref, &remote, o->remote_ref,
@@ -668,11 +668,11 @@ int notes_merge(struct notes_merge_options *o,
commit_list_insert(local, &parents);
create_notes_commit(o->repo, local_tree, parents, o->commit_msg.buf,
o->commit_msg.len, result_oid);
- free_commit_list(parents);
+ commit_list_free(parents);
}
found_result:
- free_commit_list(bases);
+ commit_list_free(bases);
strbuf_release(&(o->commit_msg));
trace_printf("notes_merge(): result = %i, result_oid = %.7s\n",
result, oid_to_hex(result_oid));