diff --git a/Formula/git-flow.rb b/Formula/git-flow.rb index d69e86bc2a..b4536bed5d 100644 --- a/Formula/git-flow.rb +++ b/Formula/git-flow.rb @@ -2,21 +2,16 @@ require 'formula' class GitFlowCompletion < Formula homepage 'https://github.com/bobthecow/git-flow-completion' - url 'https://github.com/bobthecow/git-flow-completion.git', :tag => '0.4.1.0' - version '0.4.1.0' + url 'https://github.com/bobthecow/git-flow-completion/tarball/0.4.1.0' + md5 '95c05d1a278c1c41067bd7cc6c281ecd' head 'https://github.com/bobthecow/git-flow-completion.git', :branch => 'develop' - - def initialize - # We need to hard-code the formula name since Homebrew can't - # deduce it from the formula's filename, and the git download - # strategy really needs a valid name. - super "git-flow-completion" - end end class GitFlow < Formula homepage 'https://github.com/nvie/gitflow' + + # Use the tag instead of the tarball to get the submodule url 'https://github.com/nvie/gitflow.git', :tag => '0.4.1' version '0.4.1'