gitlabhq/grit — pull request #1 by nathanvda (2012-06-03 09:05:52+00:00)
Title: More efficient counting of tags/remotes/heads

A copy from https://github.com/mojombo/grit/pull/121.
Related to https://github.com/gitlabhq/gitlabhq/pull/887