#define USE_THE_REPOSITORY_VARIABLE #include "builtin.h" #include "config.h" #include "commit.h" #include "gettext.h" #include "hex.h" #include "object-name.h" #include "parse-options.h" #include "commit-reach.h" static int show_merge_base(struct commit **rev, int rev_nr, int show_all) { … } static const char * const merge_base_usage[] = …; static struct commit *get_commit_reference(const char *arg) { … } static int handle_independent(int count, const char **args) { … } static int handle_octopus(int count, const char **args, int show_all) { … } static int handle_is_ancestor(int argc, const char **argv) { … } static int handle_fork_point(int argc, const char **argv) { … } int cmd_merge_base(int argc, const char **argv, const char *prefix, struct repository *repo UNUSED) { … }