git-js icon indicating copy to clipboard operation
git-js copied to clipboard

checkIsRepo does not work with bare repo

Open vanlooverenkoen opened this issue 7 years ago • 3 comments

When creating a repo with --bare -> checkIsRepo returns false on a bare repo.

vanlooverenkoen avatar Apr 15 '18 12:04 vanlooverenkoen

Thanks for letting me know... how are you using --bare? Is it in a directory you've run git init --bare?

steveukx avatar May 12 '18 15:05 steveukx

@vanlooverenkoen, how are you getting the false value? Can you share the code where you are checking the validity of a git repository?

mittalyashu avatar May 01 '19 11:05 mittalyashu

@steveukx this issue is now solved as of v2.9.0

GerdonAbbink avatar Jun 21 '20 08:06 GerdonAbbink