mirror of
https://git.proxmox.com/git/libgit2
synced 2025-12-24 22:56:07 +00:00
GIT_REPOSITORY_OPEN_NO_SEARCH does not search up through parent directories, but still tries the specified path both directly and with /.git appended. GIT_REPOSITORY_OPEN_BARE avoids appending /.git, but opens the repository in bare mode even if it has a working directory. To support the semantics git uses when given $GIT_DIR in the environment, provide a new GIT_REPOSITORY_OPEN_NO_DOTGIT flag to not try appending /.git. |
||
|---|---|---|
| .. | ||
| git2 | ||
| git2.h | ||