Skip to content

Commit

Permalink
merge: make function try_merge_command non static
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
chriscool authored and gitster committed Apr 1, 2010
1 parent 3f9083c commit c674d05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin/merge.c
Expand Up @@ -548,8 +548,8 @@ 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,
const char *head_arg, struct commit_list *remotes)
int try_merge_command(const char *strategy, struct commit_list *common,
const char *head_arg, struct commit_list *remotes)
{
const char **args;
int i = 0, x = 0, ret;
Expand Down
3 changes: 3 additions & 0 deletions merge-recursive.h
Expand Up @@ -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

0 comments on commit c674d05

Please sign in to comment.