gitlabhq / grit

Grit gives you object oriented read/write access to Git repositories via Ruby. Patched for GitLab
gitlab.org
MIT License
59 stars 55 forks source link

Fix the travis CI build. #4

Closed nathanvda closed 12 years ago

nathanvda commented 12 years ago

I do not completely understand. I merged in the gitlabhq-changes, since then I had to adapt the test to 7, apparently it fails on ci, so I restore it to 4. I will need to check my fixtures here why my count could be different.

nathanvda commented 12 years ago

Ok, I get it. It took me a while :) It is counting the remotes from the grit-project itself. Since I originally forked from mojombo/grit, that is my origin. To pull in your changes, I had to add gitlabhq/grit as a remote. Since there are three branches in each remote (no_raw_git, master and patch_id), plus the default origin/HEAd gives me seven remotes, while of course, on your repo there is only 4. Hehe. Nice to be able to finally explain it.

For now the fix is good enough I think. In the future I might use a fixture instead.