summaryrefslogtreecommitdiff
path: root/src/merge.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/merge.c')
-rw-r--r--src/merge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/merge.c b/src/merge.c
index 23a1574f7..ee000d522 100644
--- a/src/merge.c
+++ b/src/merge.c
@@ -665,7 +665,7 @@ static int index_entry_similarity_calc(
if ((error = git_blob_lookup(&blob, repo, &entry->id)) < 0)
return error;
- git_oid_cpy(&diff_file.oid, &entry->id);
+ git_oid_cpy(&diff_file.id, &entry->id);
diff_file.path = entry->path;
diff_file.size = entry->file_size;
diff_file.mode = entry->mode;