Skip to content

Loading…

Prevent error message on git flow version #255

Open
wants to merge 1 commit into from

2 participants

@leonardinius

Seems the same problem as #235

The error was "line 113: init: command not found"

My gut feeling is what git flow version command does not require to invoke flow-initialization logics.

@petervanderdoes

This is implemented in my fork git-flow (AVH Edition)
My fork has diverged to much to make this into an easy pull request for nvie's gitflow,

Checkout the changelog for more information about bugfixes and new features implemented in my fork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 14, 2012
  1. @leonardinius
Showing with 1 addition and 1 deletion.
  1. +1 −1 git-flow
View
2 git-flow
@@ -109,7 +109,7 @@ main() {
fi
# run the specified action
- if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] ; then
+ if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] && [ $SUBCOMMAND != "version" ] ; then
init
fi
cmd_$SUBACTION "$@"
Something went wrong with that request. Please try again.