aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/git.rb
AgeCommit message (Collapse)Author
2016-09-23Fix Style/IfUnlessModifier.Markus Reiter
2016-07-15ENV: move to new paths. (#507)Mike McQuaid
Move some stuff formerly in `Library/ENV` around: - Move `Library/ENV/$XCODE_VERSION` to `Library/Homebrew/env/super` as they are all superenv wrappers and all symlinks to the same version. We never needed the "separate shims for separate versions" functionality and it just adds confusion. - Move `Library/ENV/pkgconfig` to `Library/Homebrew/env/pkgconfig` to get more things under `Library/Homebrew` - Move `Library/ENV/scm` to `Library/scm` as these wrappers are not actually used by or related to superenv (or stdenv) in any way.
2016-06-19utils/git: provide git_path and git_versionMartin Afanasjew
2016-04-02git: check homebrew/core existence before installing brewed gitXu Cheng
2016-03-21utils/git: various improvementXu Cheng
* Use `ENV/scm/git` to check whether git is installed. * Use `brew install git` to enforce pre-install checks such as sudo check.
2015-09-09FormulaInstaller: reset git_available? when installing gitXu Cheng
Closes Homebrew/homebrew#43693 Signed-off-by: Xu Cheng <xucheng@me.com>
2015-09-09doctor: use Utils.git_available? instead of git?Xu Cheng
2015-09-09git_available?: cache the resultXu Cheng
2015-09-02add git utilsXu Cheng
Two methods: * `Utils.git_available?` checks whether git is installed. * `Utils.ensure_git_installed!` installs git for users who don't install Xcode or CLT.