src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 542 forks source link

use constant instead of literal string #1164

Closed mktip closed 5 years ago

mktip commented 5 years ago

I might be completly wrong, but shouldn't GitDirName be used here instead of ".git"? After all if someone one day tries to change this constant and make his own git fork or something, it would still work this way i think