robbyrussell/oh-my-zsh — pull request #1159 by kristi (2012-06-13 20:43:44+00:00)
Title: Steef theme - Improved git untracked file detection

Use `--directory` flag with the `git ls-files` command to prevent needlessly recursing into untracked directories.

Use grep to detect files in the ls-files output so zsh doesn't store the (potentially large) output from `ls-files`.