Commit 447808fa authored by Vincent Driessen's avatar Vincent Driessen

Merge branch 'chad3814-develop' into develop

Thanks, chad3814.
parents be5dabf8 4895c15e
......@@ -44,7 +44,7 @@ PREFIX=$(git config --get gitflow.prefix.feature)
usage() {
echo "usage: git flow feature [list] [-v]"
echo " git flow feature start [-F] <name> [<base>]"
echo " git flow feature finish [-rFk] [<name|nameprefix>]"
echo " git flow feature finish [-rFkD] [<name|nameprefix>]"
echo " git flow feature publish <name>"
echo " git flow feature track <name>"
echo " git flow feature diff [<name|nameprefix>]"
......@@ -231,6 +231,7 @@ cmd_finish() {
DEFINE_boolean fetch false "fetch from $ORIGIN before performing finish" F
DEFINE_boolean rebase false "rebase instead of merge" r
DEFINE_boolean keep false "keep branch after performing finish" k
DEFINE_boolean force_delete false "force delete feature branch after finish" D
parse_args "$@"
expand_nameprefix_arg_or_current
......@@ -346,7 +347,11 @@ helper_finish_cleanup() {
if noflag keep; then
git branch -d "$BRANCH"
if flag force_delete; then
git branch -D "$BRANCH"
else
git branch -d "$BRANCH"
fi
fi
echo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment