From b72a395ba6d0659f1008754000bb6a066a7fb551 Mon Sep 17 00:00:00 2001 From: Fred Condo Date: Mon, 9 Jul 2012 18:37:12 -0700 Subject: [PATCH] Prevent error message on git flow init As explained by Peter van der Does, the init command does not have the init function, nor does it need one. --- git-flow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-flow b/git-flow index 19c337ef7..cdf0e07c1 100755 --- a/git-flow +++ b/git-flow @@ -109,7 +109,7 @@ main() { fi # run the specified action - if [ $SUBACTION != "help" ]; then + if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] ; then init fi cmd_$SUBACTION "$@"