Constant git2::REPOSITORY_OPEN_NO_DOTGIT []

pub const REPOSITORY_OPEN_NO_DOTGIT: RepositoryOpenFlags = RepositoryOpenFlags{bits: raw::GIT_REPOSITORY_OPEN_NO_DOTGIT as u32,}

Don't try appending /.git to the specified repository path.