summaryrefslogtreecommitdiff
path: root/repository.go
diff options
context:
space:
mode:
authorJesse Hathaway <[email protected]>2020-09-29 17:42:20 -0500
committerGitHub <[email protected]>2020-09-29 15:42:20 -0700
commit3c5c580d78831d10e082743f3783424b72ac9e09 (patch)
treec89d12b9506bbeadcdff5f7a4e57544a834c377e /repository.go
parent7e726fda6ec2b5d773e5a8b54ed06378a53c0f7f (diff)
Add a ReInit function (#647)
libgit2 stores the lookup paths for gitconfig files in its global state. This means that after a program changes its effective uid libgit2 will still look for gitconfig files in the home directory of the original uid. Expose a way to call C.git_libgit2_init so a user can reinitialize the libgit2 global state.
Diffstat (limited to 'repository.go')
0 files changed, 0 insertions, 0 deletions