Skip to content
This repository

Prevent error message on git flow version #255

Open
wants to merge 1 commit into from

2 participants

Leonids Maslovs Peter van der Does
Leonids Maslovs

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.

Peter van der Does

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

Showing 1 unique commit by 1 author.

Sep 14, 2012
Leonids Maslovs leonardinius Prevent error message on git flow version 5952095
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  git-flow
2  git-flow
@@ -109,7 +109,7 @@ main() {
109 109 fi
110 110
111 111 # run the specified action
112   - if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] ; then
  112 + if [ $SUBACTION != "help" ] && [ $SUBCOMMAND != "init" ] && [ $SUBCOMMAND != "version" ] ; then
113 113 init
114 114 fi
115 115 cmd_$SUBACTION "$@"

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.