summaryrefslogtreecommitdiff
path: root/src/merge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/merge.h')
-rw-r--r--src/merge.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/merge.h b/src/merge.h
index cc17389ab..2684c15f8 100644
--- a/src/merge.h
+++ b/src/merge.h
@@ -110,16 +110,6 @@ typedef struct {
int binary:1;
} git_merge_diff;
-/** Internal structure for merge inputs */
-struct git_merge_head {
- char *ref_name;
- char *remote_url;
-
- git_oid oid;
- char oid_str[GIT_OID_HEXSZ+1];
- git_commit *commit;
-};
-
int git_merge__bases_many(
git_commit_list **out,
git_revwalk *walk,
@@ -145,8 +135,8 @@ void git_merge_diff_list__free(git_merge_diff_list *diff_list);
int git_merge__setup(
git_repository *repo,
- const git_merge_head *our_head,
- const git_merge_head *heads[],
+ const git_annotated_commit *our_head,
+ const git_annotated_commit *heads[],
size_t heads_len);
int git_merge__check_result(git_repository *repo, git_index *index_new);