Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-10-05 03:32:16 +0400
committerRussell Belfer <rb@github.com>2013-10-05 03:32:16 +0400
commit5173ea921d4ccbbe7d61ddce9a0920c2e1c82035 (patch)
treed7aec2a09ff9f26cb8457a7e00eec89d10515bc8 /src/iterator.c
parentb8f9059d6330d1b0113910eb4c6f049ea5a150a4 (diff)
Add git_repository_reset_filesystem and fix tests
When a repository is transferred from one file system to another, many of the config settings that represent the properties of the file system may be wrong. This adds a new public API that will refresh the config settings of the repository to account for the change of file system. This doesn't do a full "reinitialize" and operates on a existing git_repository object refreshing the config when done. This commit then makes use of the new API in clar as each test repository is set up. This commit also has a number of other clar test fixes where we were making assumptions about the type of filesystem, either based on outdated config data or based on the OS instead of the FS.
Diffstat (limited to 'src/iterator.c')
0 files changed, 0 insertions, 0 deletions