aanand/git-up — pull request #29 by fbuenemann (2012-09-17 15:15:36+00:00)
Title: Simplify change_count to use just one git command.

This solves performance issues with grit's status method which
is very slow if a repository has many untracked files.

Example w/o patch:
```git-up 10,02s user 38,09s system 60% cpu 1:19,27 total```

Same repo w/patch:
```git-up 1,26s user 0,20s system 72% cpu 2,025 total```

This is taken from running ```git up``` in a repo with over a million untracked files.

Credit for this goes to @mbreit.