xdiff-interface: refactor parsing of merge.conflictstyle
Factor out the code that parses of conflict style name so it can be reused in a later commit that wants to parse the name given on the command line. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
3c2a3fdc38
commit
7457014be5
@ -51,6 +51,7 @@ int buffer_is_binary(const char *ptr, unsigned long size);
|
||||
void xdiff_set_find_func(xdemitconf_t *xecfg, const char *line, int cflags);
|
||||
void xdiff_clear_find_func(xdemitconf_t *xecfg);
|
||||
struct config_context;
|
||||
int parse_conflict_style_name(const char *value);
|
||||
int git_xmerge_config(const char *var, const char *value,
|
||||
const struct config_context *ctx, void *cb);
|
||||
extern int git_xmerge_style;
|
||||
|
Reference in New Issue
Block a user