Revert "correctly identify git repo when all changes are staged"

This reverts commit 487340589de51116225088dbc0f4600bdb514488.
Merge branch 'master' of https://github.com/holman/dotfiles