commit | b72a395ba6d0659f1008754000bb6a066a7fb551 | [log] [tgz] |
---|---|---|
author | Fred Condo <fcondo@quinn.com> | 周一 7月 09 18:37:12 2012 -0700 |
committer | Fred Condo <fcondo@quinn.com> | 周一 7月 09 18:37:12 2012 -0700 |
tree | 9cca9d11f4807113fce231e6b9717edb51074afc | |
parent | aa93d2346f840e16a05c6546e1e22c1dddfbc997 [diff] [blame] |
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.
diff --git a/git-flow b/git-flow index 19c337e..cdf0e07 100755 --- a/git-flow +++ b/git-flow
@@ -109,7 +109,7 @@ fi # run the specified action - if [ $SUBACTION != "help" ]; then + if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] ; then init fi cmd_$SUBACTION "$@"