summaryrefslogtreecommitdiff
path: root/git-mergetool--lib.sh
diff options
context:
space:
mode:
authorNikola Forró <nforro@redhat.com>2016-04-12 14:44:20 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-04-25 22:15:17 (GMT)
commitcce076e37107217faa942dddc20e79ae7350bc1f (patch)
tree75c4cfa723fddad28349318907bf2ec8a39b8633 /git-mergetool--lib.sh
parente46579643d56162299b1756b70d418005351b256 (diff)
downloadgit-cce076e37107217faa942dddc20e79ae7350bc1f.zip
git-cce076e37107217faa942dddc20e79ae7350bc1f.tar.gz
git-cce076e37107217faa942dddc20e79ae7350bc1f.tar.bz2
difftool/mergetool: make the form of yes/no questions consistent
Every yes/no question in difftool/mergetool scripts has slightly different form, and none of them is consistent with the form git itself uses. Make the form of all the questions consistent with the form used by git. Reviewed-by: John Keeping <john@keeping.me.uk> Signed-off-by: Nikola Forró <nforro@redhat.com> Acked-by: David Aguilar <davvid@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-mergetool--lib.sh')
-rw-r--r--git-mergetool--lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-mergetool--lib.sh b/git-mergetool--lib.sh
index 54ac8e4..92adcc0 100644
--- a/git-mergetool--lib.sh
+++ b/git-mergetool--lib.sh
@@ -100,7 +100,7 @@ check_unchanged () {
while true
do
echo "$MERGED seems unchanged."
- printf "Was the merge successful? [y/n] "
+ printf "Was the merge successful [y/n]? "
read answer || return 1
case "$answer" in
y*|Y*) return 0 ;;