aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/utils/git.rb
AgeCommit message (Collapse)Author
2018-02-09Format identifiers in oh1Chayoung You
2018-01-15Revert "Use Homebrew's gitconfig for various commands"ilovezfs
2018-01-11Use Homebrew's gitconfig for various commandsMike McQuaid
Git is a transport and storage mechanism for us so we don't want to allow arbitrary customisation of this due to user issues e.g. #3664 and #3561. Fixes #3664.
2017-09-24utils/git: cache less aggressively.Mike McQuaid
This should avoid weird test ordering failures with specs on Linux (but there's no real reason this can't occur on macOS too).
2017-09-23utils/git: don't fail when CoreTap is untapped.Mike McQuaid
This produces test failures on Linux where we intentionally avoid having it tapped.
2017-08-29Used already existing clear_git_available_cache to remove @gitmansimarkaur
2017-08-27Added clear git version cache methodmansimarkaur
2017-08-27Added tests for ensure_git_installed when git is available or homebrew/core ↵mansimarkaur
is unavailable
2017-08-27Added tests for git_available?mansimarkaur
2017-08-27Added tests for last_revision_commit_of_filemansimarkaur
2017-05-22Add audit check to see if both version and checksum changed.Markus Reiter
2017-02-20Added support for returning HTTP status codes and for git and svn URLsDavid Broder-Rodgers
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.