JuliaLang/julia — pull request #6066 by pozorvlak (2014-03-06 11:20:13+00:00)
Title: Make version_git.sh work on older versions of git.

The --count option to git-rev-list was introduced in git version 1.7.6. When base/version_git.sh is run on versions of git without this option, a long help message is generated (cluttering up make output) and generating an incorrect base/version_git.jl.

This problem has previously arisen in #5587.