robbyrussell/oh-my-zsh — pull request #3220 by nikhgupta (2014-10-14 11:26:53+00:00)
Title: avoided unnecessary git call from `git_prompt_status`

The primary use of `git_prompt_status` is in prompts, which demands that the function should be as fast as possible. Taking an early exit from this function on non-git directories saves around `60ms` on my machine.