libgit2/tests/status
Rob Rix bbe13802b7 Demonstrate a trailing slash failure.
`git help ignore` has this to say about trailing slashes:

> If the pattern ends with a slash, it is removed for the purpose of
> the following description, but it would only find a match with a
> directory. In other words, foo/ will match a directory foo and
> paths underneath it, but will not match a regular file or a
> symbolic link foo (this is consistent with the way how pathspec
> works in general in Git).

Sure enough, having manually performed the same steps as this test,
`git status` tells us the following:

	# On branch master
	#
	# Initial commit
	#
	# Changes to be committed:
	#   (use "git rm --cached <file>..." to unstage)
	#
	#	new file:   force.txt
	#
	# Untracked files:
	#   (use "git add <file>..." to include in what will be committed)
	#
	#	../.gitignore
	#	child1/
	#	child2/

i.e. neither child1 nor child2 is ignored.
2014-08-08 15:19:16 -07:00
..
ignore.c Demonstrate a trailing slash failure. 2014-08-08 15:19:16 -07:00
renames.c Improve docs for status rename detection limits 2014-04-24 15:40:50 -07:00
single.c Introduce cl_assert_equal_oid 2014-07-01 14:40:16 -04:00
status_data.h Rename tests-clar to tests 2013-11-14 14:05:52 -08:00
status_helpers.c Use 'X' for unreadable status. 2014-05-30 16:22:13 -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 Add another test for unreadable and not included. 2014-06-04 14:47:44 -07:00