X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-difftool--helper.sh;h=524f5ea8ab14bb44e5a8e6393e40c0ec5c1ddaa2;hb=03f94ae9f909952ed5a78917ab319a312889354b;hp=e43b5d64de3d06f96063f61d4907a8a95ed1c23b;hpb=06dbc1ea5768618337bf11e5f64c4f9f14a68008;p=git.git diff --git a/git-difftool--helper.sh b/git-difftool--helper.sh index e43b5d64d..524f5ea8a 100755 --- a/git-difftool--helper.sh +++ b/git-difftool--helper.sh @@ -11,7 +11,8 @@ TOOL_MODE=diff # difftool.prompt controls the default prompt/no-prompt behavior # and is overridden with $GIT_DIFFTOOL*_PROMPT. should_prompt () { - prompt=$(git config --bool difftool.prompt || echo true) + prompt_merge=$(git config --bool mergetool.prompt || echo true) + prompt=$(git config --bool difftool.prompt || echo $prompt_merge) if test "$prompt" = true; then test -z "$GIT_DIFFTOOL_NO_PROMPT" else