From 53d5ac6f2153f3208ec814943daf4199f8d57938 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Fri, 21 Aug 2015 23:14:12 +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 0a1f536..3840720 100644 --- a/makerelease +++ b/makerelease @@ -45,9 +45,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