Use git directories URL for equality.
Use git directory here.
Fix diff spec.
Merge pull request #251 from libgit2/testrepo-bare

Make testrepo.git really bare.