Re: [PATCH v9 3/4] vimdiff: add tool documentation
Hi Fernando,
Le 2022-03-30 à 15:19, Fernando Ramos a écrit :
Show 15 quoted lines
> Running 'git {merge,diff}tool --tool-help' now also prints usage
> information about the vimdiff tool (and its variants) instead of just
> its name.
>
> Two new functions ('diff_cmd_help()' and 'merge_cmd_help()') have been
> added to the set of functions that each merge tool (ie. scripts found
> inside "mergetools/") can overwrite to provided tool specific
> information.
>
> Right now, only 'mergetools/vimdiff' implements these functions, but
> other tools are encouraged to do so in the future, specially if they
> take configuration options not explained anywhere else (as it is the
> case with the 'vimdiff' tool and the new 'layout' option)
>
> Note that the function 'show_tool_names', used in the implmentation oftypo here: implementation (by bad!)
Maybe Junio will correct it before merging to next ?
Philippe.