[tor-commits] [tor/master] Test for .git as readable instead of a dir to support worktrees