Commit cf5b2a55 authored by Vincent Driessen's avatar Vincent Driessen

Implement git flow feature finish without a branch name to finish the

current branch, if any.

This fixes #127.
parent c4b4b3c2
...@@ -232,7 +232,7 @@ cmd_finish() { ...@@ -232,7 +232,7 @@ cmd_finish() {
DEFINE_boolean rebase false "rebase instead of merge" r DEFINE_boolean rebase false "rebase instead of merge" r
DEFINE_boolean keep false "keep branch after performing finish" k DEFINE_boolean keep false "keep branch after performing finish" k
parse_args "$@" parse_args "$@"
expand_nameprefix_arg expand_nameprefix_arg_or_current
# sanity checks # sanity checks
require_branch "$BRANCH" require_branch "$BRANCH"
......
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