summaryrefslogtreecommitdiff
path: root/decorate.h
diff options
context:
space:
mode:
authorTim Henigan <tim.henigan@gmail.com>2012-03-26 12:23:35 -0400
committerJunio C Hamano <gitster@pobox.com>2012-03-26 10:16:34 -0700
commit50bac4d8ee8a3ef0e3a6f2aaa3d695270dad522b (patch)
tree5fd2f68eecea27dd105d5624221cd5316b8e0193 /decorate.h
parent6fbdb7b5c729f4341a0c69439062024933956a50 (diff)
downloadgit-th/difftool-diffall.tar.gz
difftool: print list of valid tools with '--tool-help'th/difftool-diffall
Since bc7a96a (mergetool--lib: Refactor tools into separate files, 2011-08-18), it is possible to add a new diff tool by creating a simple script in the '$(git --exec-path)/mergetools' directory. Updating the difftool help text is still a manual process, and the documentation can easily go out of sync. Teach the command to read the list of valid tools from the 'mergetools' directory, determine which of them are actually installed and then print them for the user when the '--tool-help' option is given. Signed-off-by: Tim Henigan <tim.henigan@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'decorate.h')
0 files changed, 0 insertions, 0 deletions