@@ -345,56 +345,7 @@ include::config/gpg.txt[]
345345
346346include::config/gui.txt[]
347347
348- guitool.<name>.cmd::
349- Specifies the shell command line to execute when the corresponding item
350- of the linkgit:git-gui[1] `Tools` menu is invoked. This option is
351- mandatory for every tool. The command is executed from the root of
352- the working directory, and in the environment it receives the name of
353- the tool as `GIT_GUITOOL`, the name of the currently selected file as
354- 'FILENAME', and the name of the current branch as 'CUR_BRANCH' (if
355- the head is detached, 'CUR_BRANCH' is empty).
356-
357- guitool.<name>.needsFile::
358- Run the tool only if a diff is selected in the GUI. It guarantees
359- that 'FILENAME' is not empty.
360-
361- guitool.<name>.noConsole::
362- Run the command silently, without creating a window to display its
363- output.
364-
365- guitool.<name>.noRescan::
366- Don't rescan the working directory for changes after the tool
367- finishes execution.
368-
369- guitool.<name>.confirm::
370- Show a confirmation dialog before actually running the tool.
371-
372- guitool.<name>.argPrompt::
373- Request a string argument from the user, and pass it to the tool
374- through the `ARGS` environment variable. Since requesting an
375- argument implies confirmation, the 'confirm' option has no effect
376- if this is enabled. If the option is set to 'true', 'yes', or '1',
377- the dialog uses a built-in generic prompt; otherwise the exact
378- value of the variable is used.
379-
380- guitool.<name>.revPrompt::
381- Request a single valid revision from the user, and set the
382- `REVISION` environment variable. In other aspects this option
383- is similar to 'argPrompt', and can be used together with it.
384-
385- guitool.<name>.revUnmerged::
386- Show only unmerged branches in the 'revPrompt' subdialog.
387- This is useful for tools similar to merge or rebase, but not
388- for things like checkout or reset.
389-
390- guitool.<name>.title::
391- Specifies the title to use for the prompt dialog. The default
392- is the tool name.
393-
394- guitool.<name>.prompt::
395- Specifies the general prompt string to display at the top of
396- the dialog, before subsections for 'argPrompt' and 'revPrompt'.
397- The default value includes the actual command.
348+ include::config/guitool.txt[]
398349
399350help.browser::
400351 Specify the browser that will be used to display help in the
0 commit comments