summaryrefslogtreecommitdiff
path: root/merge-recursive.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2016-06-07 00:57:16 +0000
committerJunio C Hamano <gitster@pobox.com>2016-06-06 19:31:05 -0700
commit2236c435803a8dde51c24bc31dab60049c31e844 (patch)
treee03ee2df362e5af1e8ec82e17f2769166a9666a7 /merge-recursive.h
parentf22e54d3902f8d82244ba91f0a45891cf5c57f01 (diff)
downloadgit-bc/cocci-object-id.tar.gz
merge-recursive: convert merge_recursive_generic to object_idbc/cocci-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);