GITLAB patch: More stable raw commit parsing
Added a method count_all for faster counting. Added methods called tag_count, head_count and remote_count. These just count how many there are, without building the actual items. On big git repositories this makes a lot of difference.
Alias head_count to branch_count.
Merge pull request #1 from nathanvda/master

More efficient counting of tags/remotes/heads
travis file added
Gemfile added
Make sure that Ref does not create the commit when doing a `find_all`, but instead only looks for the commit when it is needed. Improves lookup time enormously.
Merge pull request #2 from nathanvda/master

further improving performance
Fix build on ci.
Merge pull request #4 from nathanvda/master

Fix the travis CI build.
Fixes symlinks omission from diff.
use method_defined? instead of hardcoded version string to support both ruby 1.9 and 2.0.
explicitly set ASCII_8BIT encoding in PACK_IDX_SIGNATURE.

otherwise "..."'s encoding is UTF-8 in ruby 2.0.
Merge pull request #9 from fdiary/ruby-2.0

support ruby 2.0
Merge pull request #7 from kouno/fix-symlinks

Fixes symlinks omission from diff.
Add ruby 2.0.0 to travis
update mocha to support tests on ruby 2.0.
Merge pull request #10 from fdiary/mocha-0.13.2

update mocha to support tests on ruby 2.0.
build a separate gem for gitlab grit
Minor typo fix: “buy” → “by”.