From: Chris Koeritz Date: Sun, 12 Nov 2017 20:10:39 +0000 (-0500) Subject: another try X-Git-Tag: 2.140.98^2~16 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=aba91c88cba3538674d85378fcfe4105d5cc9694;p=feisty_meow.git another try got some odd complaints from git last time. --- diff --git a/scripts/rev_control/version_control.sh b/scripts/rev_control/version_control.sh index 491b77a9..1ae3494a 100644 --- a/scripts/rev_control/version_control.sh +++ b/scripts/rev_control/version_control.sh @@ -266,6 +266,11 @@ function check_branch_state() { local branch="$1"; shift + if [ -z "$branch" ]; then + echo "No branch was passed to check branch state." + return 1 + fi + local to_return=120 # unknown issue. local local_branch=$(git rev-parse @)