#define USE_THE_REPOSITORY_VARIABLE #include "git-compat-util.h" #include "gettext.h" #include "hash.h" #include "hex.h" #include "lockfile.h" #include "merge.h" #include "commit.h" #include "repository.h" #include "run-command.h" #include "resolve-undo.h" #include "tree.h" #include "tree-walk.h" #include "unpack-trees.h" static const char *merge_argument(struct commit *commit) { … } int try_merge_command(struct repository *r, const char *strategy, size_t xopts_nr, const char **xopts, struct commit_list *common, const char *head_arg, struct commit_list *remotes) { … } int checkout_fast_forward(struct repository *r, const struct object_id *head, const struct object_id *remote, int overwrite_ignore) { … }