Because the subordinate formula GitFlowCompletion defines 'head', its constructor
requires a 'name' argument when --HEAD is used. The 'name' attribute is required
to create the Git repo for the formula.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
`_git-flow` needs to be installed into `share/zsh/site-functions`
not `share/zsh/functions`.
Files in `share/zsh/functions` must not change unless zsh is
upgraded and zsh is restarted. `site-functions` can change during a zsh
process's lifetime.
This will enable homebrew's zsh to automatically use the completion.
See issue Homebrew/homebrew#11936 for details.
ClosesHomebrew/homebrew#11941.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
bobthecow has some bash-completion rules for the git-flow toolset.
The formula now installs them. The rules are installed regardless of
whether bash-completion is installed; if you're not using
bash-completion, you'll just get an extra file lying around in
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use new "url" features
* Use keg_only DSL
* Use "skip_clean :all" DSL
* Whitespace and style cleanups
* Make bash invocations less silly
* Use new man2-man8 helpers
* Remove "FileUtils." since it is included in Formula
* Use real names for deps instead of aliases
* ENV.x11 now updates path, so remove that from individual brews
Git extensions to provide high-level repository operations for Vincent
Driessen's branching model [1].
[1] http://nvie.com/archives/323
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
* Use --HEAD to install development branch.
* Don't depend on brew-installed git; user may already have a git.