aboutsummaryrefslogtreecommitdiff
path: root/apply.c
diff options
context:
space:
mode:
Diffstat (limited to 'apply.c')
-rw-r--r--apply.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apply.c b/apply.c
index 3de4aa4d2e..ea90ed16be 100644
--- a/apply.c
+++ b/apply.c
@@ -3568,9 +3568,9 @@ static int three_way_merge(struct apply_state *state,
else if (oideq(base, theirs) || oideq(ours, theirs))
return resolve_to(image, ours);
- read_mmblob(&base_file, base);
- read_mmblob(&our_file, ours);
- read_mmblob(&their_file, theirs);
+ read_mmblob(&base_file, the_repository->objects, base);
+ read_mmblob(&our_file, the_repository->objects, ours);
+ read_mmblob(&their_file, the_repository->objects, theirs);
merge_opts.variant = state->merge_variant;
status = ll_merge(&result, path,
&base_file, "base",