libgit2/tests-clar/resources
Adam Roben 8e60c712ac Fix git_status_file for files that start with a character > 0x7f
git_status_file would always return GIT_ENOTFOUND for these files.

The underlying bug was that git__strcmp_cb, which is used by
git_path_with_stat_cmp to sort entries in the working directory,
compares strings based on unsigned chars (this is confirmed by the
strcmp(3) manpage), while git__prefixcmp, which is used by
workdir_iterator__entry_cmp to search for a path in the working
directory, compares strings based on char. So the sort puts this path at
the end of the list, while the search expects it to be at the beginning.

The fix was simply to make git__prefixcmp compare using unsigned chars,
just like strcmp(3). The rest of the change is just adding/updating
tests.
2012-06-07 09:50:19 -04:00
..
attr tests: add two binary blobs to attr test repository 2012-05-07 12:18:32 +02:00
attr_index Fixing issue with test data 2012-05-04 13:55:07 -07:00
bad_tag.git Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
config Backport more test data 2012-05-02 16:33:26 -07:00
duplicate.git Handle duplicate objects from different backends in git_odb_read_prefix(). 2012-05-12 15:50:19 -03:00
empty_bare.git Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
empty_standard_repo/.gitted Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
issue_592 Move test resources 2012-05-02 16:18:55 -07:00
issue_592b Fix status for files under ignored dirs 2012-05-16 17:08:59 -07:00
status Fix git_status_file for files that start with a character > 0x7f 2012-06-07 09:50:19 -04:00
submodules Move test resources 2012-05-02 16:18:55 -07:00
testrepo/.gitted Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
testrepo.git Backport more test data 2012-05-02 16:33:26 -07:00
.gitattributes Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
.gitignore Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
big.index Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00
gitgit.index Moved testing resources to clar, and removed old tests directory. 2012-03-31 16:10:01 -07:00