This is a bit of a hack, but you could do:
[alias]
df = difftool -y
[difftool "diffmerge"]
cmd = sh -c 'read -p \"Type Y to launch diffmerge:\" r && \
test $r = Y \
&& diffmerge \"$LOCAL\" \"$REMOTE\"'
This assumes your read
accepts -p
. If not, do the standard thing:
cmd = sh -c 'printf \"Type Y to launch diffmerge: \" && read r && test $r = Y \
&& diffmerge \"$LOCAL\" \"$REMOTE\"'