libgit2/tests/status
Russell Belfer 6a0956e504 Pop ignore only if whole relative path matches
When traversing the directory structure, the iterator pushes and
pops ignore files using a vector.  Some directories don't have
ignore files, so it uses a path comparison to decide when it is
right to actually pop the last ignore file.  This was only
comparing directory suffixes, though, so a subdirectory with the
same name as a parent could result in the parent's .gitignore
being popped off the list ignores too early.  This changes the
logic to compare the entire relative path of the ignore file.
2014-04-18 10:32:35 -07:00
..
ignore.c Pop ignore only if whole relative path matches 2014-04-18 10:32:35 -07:00
renames.c Misc cleanups 2014-01-30 09:59:59 -08:00
single.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
status_data.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
status_helpers.c Pop ignore only if whole relative path matches 2014-04-18 10:32:35 -07:00
status_helpers.h New tests of status for repo inside repo 2014-04-01 21:32:06 -07:00
submodules.c Update submodules with parent-tracked content 2014-04-08 14:47:20 -07:00
worktree_init.c Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
worktree.c index: rename an entry's id to 'id' 2014-01-25 08:15:44 +01:00