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>
This commit is contained in:

committed by
Junio C Hamano

parent
b4da9d62f9
commit
4e8161a82e
@ -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);
|
||||
|
Reference in New Issue
Block a user