projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f70f21
)
another try
author
Chris Koeritz
<fred@gruntose.com>
Sun, 12 Nov 2017 20:10:39 +0000
(15:10 -0500)
committer
Chris Koeritz
<fred@gruntose.com>
Sun, 12 Nov 2017 20:10:39 +0000
(15:10 -0500)
got some odd complaints from git last time.
scripts/rev_control/version_control.sh
patch
|
blob
|
history
diff --git
a/scripts/rev_control/version_control.sh
b/scripts/rev_control/version_control.sh
index 491b77a9234ae2722944a51defe9bfa87964a89e..1ae3494a11ab19e1312152f38ab885c7a3e3a4af 100644
(file)
--- 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 @)