From 0f9a6878f8deb08bd3945f232951e5c7df5eda14 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Thu, 21 Jun 2012 22:35:15 -0400 Subject: [PATCH] [Fix #209] Switch the casing of y/n --- modules/git/functions/git-stash-clear-interactive | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/git/functions/git-stash-clear-interactive b/modules/git/functions/git-stash-clear-interactive index 96f6780..82d055c 100644 --- a/modules/git/functions/git-stash-clear-interactive +++ b/modules/git/functions/git-stash-clear-interactive @@ -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