diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-05-08 17:37:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-05-08 17:37:24 +0200 |
commit | b877cb4a7ec2fafd03b6a3a70c26370744a32c1b (patch) | |
tree | 841a4389aea1aef57d9278bec5f966de5bb1ef7e /parse-options.h | |
parent | Merge branch 'pw/sequencer-cleanup-with-signoff-x-fix' (diff) | |
parent | cherry-pick/revert: add scissors line on merge conflict (diff) | |
download | git-b877cb4a7ec2fafd03b6a3a70c26370744a32c1b.tar.xz git-b877cb4a7ec2fafd03b6a3a70c26370744a32c1b.zip |
Merge branch 'dl/merge-cleanup-scissors-fix'
The list of conflicted paths shown in the editor while concluding a
conflicted merge was shown above the scissors line when the
clean-up mode is set to "scissors", even though it was commented
out just like the list of updated paths and other information to
help the user explain the merge better.
* dl/merge-cleanup-scissors-fix:
cherry-pick/revert: add scissors line on merge conflict
sequencer.c: save and restore cleanup mode
merge: add scissors line on merge conflict
merge: cleanup messages like commit
parse-options.h: extract common --cleanup option
commit: extract cleanup_mode functions to sequencer
t7502: clean up style
t7604: clean up style
t3507: clean up style
t7600: clean up style
Diffstat (limited to 'parse-options.h')
-rw-r--r-- | parse-options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-options.h b/parse-options.h index cc9230adac..1dd3523c15 100644 --- a/parse-options.h +++ b/parse-options.h @@ -316,5 +316,6 @@ int parse_opt_passthru_argv(const struct option *, const char *, int); #define OPT_NO_CONTAINS(v, h) _OPT_CONTAINS_OR_WITH("no-contains", v, h, PARSE_OPT_NONEG) #define OPT_WITH(v, h) _OPT_CONTAINS_OR_WITH("with", v, h, PARSE_OPT_HIDDEN | PARSE_OPT_NONEG) #define OPT_WITHOUT(v, h) _OPT_CONTAINS_OR_WITH("without", v, h, PARSE_OPT_HIDDEN | PARSE_OPT_NONEG) +#define OPT_CLEANUP(v) OPT_STRING(0, "cleanup", v, N_("mode"), N_("how to strip spaces and #comments from message")) #endif |