Linuxbrew / brew

:beer::penguin: The Homebrew package manager for Linux
https://linuxbrew.sh
BSD 2-Clause "Simplified" License
2.66k stars 237 forks source link

check_git_version: Minimum version of git is 2.7.0 #843

Closed sjackman closed 6 years ago

sjackman commented 6 years ago

Ensure that brew doctor is quiet on Ubuntu 16.04 LTS (Xenial Xerus). Git 2.7.4 is the version of git on Ubuntu 16.04 LTS (Xenial Xerus).

❯❯❯ brew doctor
Warning: An outdated version (2.7.4) of Git was detected in your PATH.
Git 2.14.3 or newer is required for Homebrew.
Please upgrade:
  brew install git
sjackman commented 6 years ago

Merged this fix into https://github.com/Linuxbrew/brew/pull/842

sjackman commented 6 years ago

git fetch --shallow-since requires git 2.11.0 or newer. https://github.com/git/git/commit/508ea88226bbdd25ac0aac4f9c8a65a2c3b5be5c

When was git config --local introduced?