Browse Source

[Fix #209] Switch the casing of y/n

master
Sorin Ionescu 12 years ago
parent
commit
0f9a6878f8
  1. 2
      modules/git/functions/git-stash-clear-interactive

2
modules/git/functions/git-stash-clear-interactive

@ -10,7 +10,7 @@ local stashed @@ -10,7 +10,7 @@ local stashed
if [[ -f "$(git-dir)/refs/stash" ]]; then
stashed="$(git stash list 2> /dev/null | wc -l | awk '{print $1}')"
if (( $stashed > 0 )); then
if read -q "?Clear $stashed stashed state(s) [Y/n]? "; then
if read -q "?Clear $stashed stashed state(s) [y/N]? "; then
git stash clear
fi
fi

Loading…
Cancel
Save