libgit2/tests-clar/core
Russell Belfer 2a99df6909 Fix bugs for status with spaces and reloaded attrs
This fixes two bugs:

* Issue #728 where git_status_file was not working for files
  that contain spaces.  This was caused by reusing the "fnmatch"
  parsing code from ignore and attribute files to interpret the
  "pathspec" that constrained the files to apply the status to.
  In that code, unescaped whitespace was considered terminal to
  the pattern, so a file with internal whitespace was excluded
  from the matched files.  The fix was to add a mode to that code
  that allows spaces and tabs inside patterns.  This mode only
  comes into play when parsing in-memory strings.

* The other issue was undetected, but it was in the recently
  added code to reload gitattributes / gitignores when they were
  changed on disk.  That code was not clearing out the old values
  from the cached file content before reparsing which meant that
  newly added patterns would be read in, but deleted patterns
  would not be removed.  The fix was to clear the vector of
  patterns in a cached file before reparsing the file.
2012-05-24 17:14:56 -07:00
..
buffer.c Ranged iterators and rewritten git_status_file 2012-05-15 14:34:15 -07:00
dirent.c Add a test to verify FILENAME_MAX 2012-05-13 23:12:51 -07:00
env.c Fix bugs for status with spaces and reloaded attrs 2012-05-24 17:14:56 -07:00
errors.c Remove old and unused error codes 2012-05-02 19:56:38 -07:00
filebuf.c error-handling: References 2012-03-06 00:43:10 +01:00
hex.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
oid.c Migrate index, oid, and utils to new errors 2012-03-19 16:10:11 -07:00
path.c compat: make p_realpath Windows implementation be a bit more POSIX compliant and fail if the provided path does not lead to an existing entry 2012-05-08 10:05:18 +02:00
pool.c Convert attrs and diffs to use string pools 2012-04-25 10:42:37 -07:00
rmdir.c fileops: Make git_futils_mkdir_r() able to skip non-empty directories 2012-04-10 21:39:05 +02:00
string.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
strmap.c Rename git_khash_str to git_strmap, etc. 2012-04-25 15:20:28 -07:00
strtol.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
vector.c Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00