summaryrefslogtreecommitdiff
path: root/src/win32
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-10-04 16:32:16 -0700
committerRussell Belfer <rb@github.com>2013-10-04 16:32:16 -0700
commit5173ea921d4ccbbe7d61ddce9a0920c2e1c82035 (patch)
treed7aec2a09ff9f26cb8457a7e00eec89d10515bc8 /src/win32
parentb8f9059d6330d1b0113910eb4c6f049ea5a150a4 (diff)
downloadlibgit2-5173ea921d4ccbbe7d61ddce9a0920c2e1c82035.tar.gz
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/win32')
0 files changed, 0 insertions, 0 deletions