diff options
Diffstat (limited to 'libs/patch/create-patch.sh')
-rwxr-xr-x | libs/patch/create-patch.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libs/patch/create-patch.sh b/libs/patch/create-patch.sh index 5ac23ec9..97020fd9 100755 --- a/libs/patch/create-patch.sh +++ b/libs/patch/create-patch.sh @@ -20,9 +20,6 @@ function reset_branch exit $ret } -# If --cancel option is given, just reset git and exit. -test "$1" == "--cancel" && reset_branch 0 - # Make sure if current branch is PATCH_BRANCH test ! -f "$ORIG_BRANCH_FILE" && echo "ERROR: Original branch file ($ORIG_BRANCH_FILE) is not found!" && exit 1 test "${CURRENT_BRANCH}" != "$PATCH_BRANCH" && echo "ERROR: Current branch is not '$PATCH_BRANCH'." && exit 1 |