summaryrefslogtreecommitdiffstats
path: root/merge-recursive.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2016-06-25 01:09:28 +0200
committerJunio C Hamano <gitster@pobox.com>2016-06-28 20:39:02 +0200
commit4e8161a82e5449976392517968b2d1bb56109b29 (patch)
tree552b128d238cb8ac3176ba31792a32866c390364 /merge-recursive.h
parentmerge-recursive: convert leaf functions to use struct object_id (diff)
downloadgit-4e8161a82e5449976392517968b2d1bb56109b29.tar.xz
git-4e8161a82e5449976392517968b2d1bb56109b29.zip
merge-recursive: convert merge_recursive_generic() to object_id
Convert this function and the git merge-recursive subcommand to use struct object_id. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-recursive.h')
-rw-r--r--merge-recursive.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/merge-recursive.h b/merge-recursive.h
index 52f0201f68..d415724aea 100644
--- a/merge-recursive.h
+++ b/merge-recursive.h
@@ -49,10 +49,10 @@ int merge_trees(struct merge_options *o,
* virtual commits and call merge_recursive() proper.
*/
int merge_recursive_generic(struct merge_options *o,
- const unsigned char *head,
- const unsigned char *merge,
+ const struct object_id *head,
+ const struct object_id *merge,
int num_ca,
- const unsigned char **ca,
+ const struct object_id **ca,
struct commit **result);
void init_merge_options(struct merge_options *o);