JuliaLang/julia — pull request #5209 by MichaelHatherly (2013-12-21 16:13:23+00:00)
Title: Fixes #5203.

Check whether `dir` is empty before trying `git add --all`.
This is needed for git 1.8.5.