libgit2/tests-clar/diff
Russell Belfer 5173ea921d 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.
2013-10-04 16:32:16 -07:00
..
blob.c Add "as_path" parameters to blob and buffer diffs 2013-06-17 17:03:34 -07:00
diff_helpers.c Add git_repository_reset_filesystem and fix tests 2013-10-04 16:32:16 -07:00
diff_helpers.h More diff rename tests; better split swap handling 2013-05-23 15:06:07 -07:00
diffiter.c Add git_repository_reset_filesystem and fix tests 2013-10-04 16:32:16 -07:00
drivers.c Add git_repository_reset_filesystem and fix tests 2013-10-04 16:32:16 -07:00
index.c Fix some leaks and (possibly) dangling pointers in tests 2012-12-19 08:04:31 +01:00
iterator.c Make iterators use GIT_ITEROVER & smart advance 2013-05-31 12:18:43 -07:00
notify.c Notify '*' pathspec correctly when diffing 2013-04-11 09:59:26 +02:00
patch.c Add git_repository_reset_filesystem and fix tests 2013-10-04 16:32:16 -07:00
pathspec.c tests: Fix memory leak 2013-07-13 14:14:43 +02:00
rename.c Fixing up some win32 issues with autocrlf 2013-09-17 09:31:46 -07:00
submodules.c Add clar helper to create new commit from index 2013-09-17 09:31:46 -07:00
tree.c Improve diff config options handling 2013-04-23 12:57:30 -07:00
workdir.c Fix incorrect return code in crlf filter 2013-09-24 10:11:20 -07:00