petervanderdoes / gitflow-avh

AVH Edition of the git extensions to provide high-level repository operations for Vincent Driessen's branching model
http://nvie.com/posts/a-successful-git-branching-model/
Other
5.42k stars 528 forks source link

Error in git-flow init -d in lastest version (1.12.1) #405

Open kingsleykumar opened 5 years ago

kingsleykumar commented 5 years ago

Hi, I am installing through gitflow-installer.sh (install stable). I got this error today.

/usr/local/bin/git-flow: 379: /usr/local/bin/git-flow-init: Syntax error: "else" unexpected (expecting ")")

Previous version(1.12.0) seems to be working fine.

reifsnid commented 5 years ago

I'm getting this error as well. Installed using msysgit-install.cmd to C:\Program Files\Git\usr\bin

I manually fixed this error by adding the missing ) on line 378 in git-flow-init; however, all prefixes are still empty.

hylke94 commented 5 years ago

Same here! Version: gitflow-avh-1.12.1-1 OS: Manjaro: Linux hv-vm-manjaro 5.0.15-1-MANJARO #1 SMP PREEMPT Fri May 10 19:51:04 UTC 2019 x86_64 GNU/Linux

> $ git flow init
/usr/bin/git-flow-init: line 378: unexpected EOF while looking for matching `)'
/usr/bin/git-flow-init: line 431: syntax error: unexpected end of file
hylke94 commented 5 years ago

Issue is fixed in the latest update. Even for the Manjaro aur package!