diff options
| author | Junio C Hamano <gitster@pobox.com> | 2024-04-01 13:21:33 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-04-01 13:21:33 -0700 |
| commit | ccdc7d98bb39aad1dc1bc78357a763d10fe14ddb (patch) | |
| tree | 34fde699f6ff8d34ee660fc616eade80242baa4f /xdiff-interface.h | |
| parent | The twelfth batch (diff) | |
| parent | checkout: fix interaction between --conflict and --merge (diff) | |
| download | git-ccdc7d98bb39aad1dc1bc78357a763d10fe14ddb.tar.gz git-ccdc7d98bb39aad1dc1bc78357a763d10fe14ddb.zip | |
Merge branch 'pw/checkout-conflict-errorfix'
"git checkout --conflict=bad" reported a bad conflictStyle as if it
were given to a configuration variable; it has been corrected to
report that the command line option is bad.
* pw/checkout-conflict-errorfix:
checkout: fix interaction between --conflict and --merge
checkout: cleanup --conflict=<style> parsing
merge options: add a conflict style member
merge-ll: introduce LL_MERGE_OPTIONS_INIT
xdiff-interface: refactor parsing of merge.conflictstyle
Diffstat (limited to 'xdiff-interface.h')
| -rw-r--r-- | xdiff-interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xdiff-interface.h b/xdiff-interface.h index e6f80df046..38537169b7 100644 --- a/xdiff-interface.h +++ b/xdiff-interface.h @@ -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; |
