summaryrefslogtreecommitdiff
path: root/mergetools/guiffy
diff options
context:
space:
mode:
authorFernando Ramos <greenfoo@u92.eu>2022-03-30 19:19:09 (GMT)
committerJunio C Hamano <gitster@pobox.com>2022-04-03 22:10:04 (GMT)
commit980145f7470e20826ca22d7343494712eda9c81d (patch)
treef22fa347b6fc89395a0185fe1fb0f7eca0822f55 /mergetools/guiffy
parent7b5cf8be180940ce099c8413d02fb5707d900708 (diff)
downloadgit-980145f7470e20826ca22d7343494712eda9c81d.zip
git-980145f7470e20826ca22d7343494712eda9c81d.tar.gz
git-980145f7470e20826ca22d7343494712eda9c81d.tar.bz2
mergetools: add description to all diff/merge tools
The output of `git mergetool --tool-help` and `git difftool --tool-help` only showed the `alias` of each available merge/diff tool. It is not always obvious what tool these `aliases` end up using (ex: `opendiff` runs `FileMerge` and `bc` runs `Beyond Compare`). This commit adds a short description to each of them to help the user identify the `alias` they want. Signed-off-by: Fernando Ramos <greenfoo@u92.eu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'mergetools/guiffy')
-rw-r--r--mergetools/guiffy8
1 files changed, 8 insertions, 0 deletions
diff --git a/mergetools/guiffy b/mergetools/guiffy
index 8b23a13..3ed07ef 100644
--- a/mergetools/guiffy
+++ b/mergetools/guiffy
@@ -2,6 +2,10 @@ diff_cmd () {
"$merge_tool_path" "$LOCAL" "$REMOTE"
}
+diff_cmd_help () {
+ echo "Use Guiffy's Diff Tool (requires a graphical session)"
+}
+
merge_cmd () {
if $base_present
then
@@ -13,6 +17,10 @@ merge_cmd () {
fi
}
+merge_cmd_help () {
+ echo "Use Guiffy's Diff Tool (requires a graphical session)"
+}
+
exit_code_trustable () {
true
}