Skip to content

Commit c15bb0c

Browse files
committed
mergetool: document the default for --[no-]prompt
The original motivation of using the prompt was to confirm to run a tool on this particular (as opposed to another) path, but the user can also take the prompt as to confirm to run this (as opposed to some other) tool. The latter of which of course is irritating for those who told which exact tool to use, which is the reason why we are flipping the default. During the review discussion of the patch, many people (including the maintainer) missed that a user can find the prompt useful way to skip running the tool on particular paths. Clarify it by adding a brief half-sentence to the description. Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4ecc63d commit c15bb0c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Documentation/git-mergetool.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,13 @@ success of the resolution after the custom tool has exited.
7171
--no-prompt::
7272
Don't prompt before each invocation of the merge resolution
7373
program.
74+
This is the default if the merge resolution program is
75+
explicitly specified with the `--tool` option or with the
76+
`merge.tool` configuration variable.
7477

7578
--prompt::
76-
Prompt before each invocation of the merge resolution program.
77-
This is the default behaviour; the option is provided to
78-
override any configuration settings.
79+
Prompt before each invocation of the merge resolution program
80+
to give the user a chance to skip the path.
7981

8082
TEMPORARY FILES
8183
---------------

0 commit comments

Comments
 (0)