From http://stackoverflow.com/questions/10018533/is-it-possible-to-git-status-only-modified-files
$ git status -uno $ git status | git ls-files -m | grep java