Browse Source

merge: make function try_merge_command non static

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Christian Couder 15 years ago committed by Junio C Hamano
parent
commit
c674d05273
  1. 2
      builtin/merge.c
  2. 3
      merge-recursive.h

2
builtin/merge.c

@ -548,7 +548,7 @@ static void write_tree_trivial(unsigned char *sha1) @@ -548,7 +548,7 @@ static void write_tree_trivial(unsigned char *sha1)
die("git write-tree failed to write a tree");
}

static int try_merge_command(const char *strategy, struct commit_list *common,
int try_merge_command(const char *strategy, struct commit_list *common,
const char *head_arg, struct commit_list *remotes)
{
const char **args;

3
merge-recursive.h

@ -54,4 +54,7 @@ int merge_recursive_generic(struct merge_options *o, @@ -54,4 +54,7 @@ int merge_recursive_generic(struct merge_options *o,
void init_merge_options(struct merge_options *o);
struct tree *write_tree_from_memory(struct merge_options *o);

/* builtin/merge.c */
int try_merge_command(const char *strategy, struct commit_list *common, const char *head_arg, struct commit_list *remotes);

#endif

Loading…
Cancel
Save