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 #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

4 comments on commit cf5b2a5

@levifig
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WOW SOO MUCH CODEZZ!!!!!11

@kennethreitz
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

YES! I've been wanting this for a while. Excellent work :)

@talios
Copy link
Contributor

@talios talios commented on cf5b2a5 May 17, 2011

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 w00t :)

@enriquein
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL @ "The actual impact on the amount of changed lines of source code is huge". Thanks so much!

Please sign in to comment.