robbyrussell/oh-my-zsh — pull request #2722 by eproxus (2014-04-16 08:36:42+00:00)
Title: Use low level command to detect branches behind

Using `git log` + `grep` is subject to formatting in `.gitconfig`, which can be overridden and will break this function. Relying on `rev-list` is much more stable.