From 867c6a1f46bede9b4506121ac846634bb34c7b3b Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 21 Aug 2015 23:09:24 +0200 Subject: [PATCH] Don't delete branch by defautl --- makerelease | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makerelease b/makerelease index 99945e3..fc97587 100644 --- a/makerelease +++ b/makerelease @@ -54,9 +54,9 @@ if [ ! "$branch" = "master" ]; then git checkout master git merge $branch - read -p "Delete branch $branch ? (Y/n)" choice + read -p "Delete branch $branch ? (y/N)" choice case "$choice" in - y|Y|'' ) + y|Y ) git branch -D $branch ;; esac