Skip to content

Commit

Permalink
Implement git flow feature finish without a branch name to finish the
Browse files Browse the repository at this point in the history
current branch, if any.

This fixes nvie#127.
  • Loading branch information
nvie committed May 16, 2011
1 parent c4b4b3c commit cf5b2a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-flow-feature
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ cmd_finish() {
DEFINE_boolean rebase false "rebase instead of merge" r
DEFINE_boolean keep false "keep branch after performing finish" k
parse_args "$@"
expand_nameprefix_arg
expand_nameprefix_arg_or_current

# sanity checks
require_branch "$BRANCH"
Expand Down

0 comments on commit cf5b2a5

Please sign in to comment.