diff options
| author | Michael Forney <mforney@mforney.org> | 2019-04-09 23:02:46 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2019-04-09 23:02:46 -0700 |
| commit | 680d4261dfa57d2dd6b131ae65047dc00ee8261f (patch) | |
| tree | 45560e4944c77f89c3ad25d51cf5d2cbb533337b /scripts | |
| parent | 1530f3c5ebe41965f896e6389390826c65fd2467 (diff) | |
scripts/commit.sh: Fix when branch doesn't already exist
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/commit.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/commit.sh b/scripts/commit.sh index 7c5e3139..0d9ef12d 100644 --- a/scripts/commit.sh +++ b/scripts/commit.sh @@ -14,6 +14,7 @@ if commit=$(git -C "$repo" show-ref -s --verify "refs/heads/$branch" 2>/dev/null fi else set -- + unset commit fi if [ -z "${commit+set}" ] ; then |
