libgit2/tests-clar/diff
Russell Belfer 14997dc5f6 More filemode cleanups for FAT on MacOS
This cleans up some additional issues.  The main change is that
on a filesystem that doesn't support mode bits, libgit2 will now
create new blobs with GIT_FILEMODE_BLOB always instead of being
at the mercy to the filesystem driver to report executable or not.
This means that if "core.filemode" lies and claims that filemode
is not supported, then we will ignore the executable bit from the
filesystem.  Previously we would have allowed it.

This adds an option to the new git_repository_reset_filesystem to
recurse through submodules if desired.  There may be other types
of APIs that would like a "recurse submodules" option, but this
one is particularly useful.

This also has a number of cleanups, etc., for related things
including trying to give better error messages when problems come
up from the filesystem.  For example, the FAT filesystem driver on
MacOS appears to return errno EINVAL if you attempt to write a
filename with invalid UTF-8 in it.  We try to capture that with a
better error message now.
2013-10-08 12:45:43 -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 More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -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 More filemode cleanups for FAT on MacOS 2013-10-08 12:45:43 -07:00