We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b502a3 + e622f41 commit 5ec8217Copy full SHA for 5ec8217
git-mergetool--lib.sh
@@ -21,7 +21,7 @@ check_unchanged () {
21
do
22
echo "$MERGED seems unchanged."
23
printf "Was the merge successful? [y/n] "
24
- read answer
+ read answer || return 1
25
case "$answer" in
26
y*|Y*) status=0; break ;;
27
n*|N*) status=1; break ;;
git-mergetool.sh
@@ -72,7 +72,7 @@ describe_file () {
72
resolve_symlink_merge () {
73
while true; do
74
printf "Use (l)ocal or (r)emote, or (a)bort? "
75
- read ans
+ read ans || return 1
76
case "$ans" in
77
[lL]*)
78
git checkout-index -f --stage=2 -- "$MERGED"
0 commit comments