git-delete-branch: Renamed the functions in the case

This commit is contained in:
Marcin Woźniak 2022-03-06 10:44:13 +01:00
parent 011fd50c66
commit 9a8b4a658a
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -20,8 +20,8 @@ while true; do
read -p "Remove locally / remote / both [L/R/B]: " CHOOSE
case $CHOOSE in
[Bb]* ) delete_local_branch "$BRANCH" && delete_remote_branch "$BRANCH" ;;
[Ll]* ) delete_local_BRANCH "$BRANCH";;
[Rr]* ) delete_remote_BRANCH "$BRANCH";;
[Ll]* ) delete_local_branch "$BRANCH";;
[Rr]* ) delete_remote_branch "$BRANCH";;
* ) echo "Please write good answer";;
esac
done