Skip to content

Commit

Permalink
Merge pull request nvie#235 from oddnoc/feature/112-init-fix
Browse files Browse the repository at this point in the history
Prevent error message on git flow init.
  • Loading branch information
nvie committed Jul 10, 2012
2 parents aa93d23 + b72a395 commit 53e9c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-flow
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ main() {
fi

# run the specified action
if [ $SUBACTION != "help" ]; then
if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] ; then
init
fi
cmd_$SUBACTION "$@"
Expand Down

0 comments on commit 53e9c76

Please sign in to comment.