Skip to content

Prevent error message on git flow init #235

Merged
merged 1 commit into from Jul 10, 2012
+1 −1
View
2 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 "$@"
Something went wrong with that request. Please try again.