1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add a / to the beginning of a file matchin pattern if no / in rule.

See https://www.kernel.org/pub/software/scm/git/docs/gitignore.html
This commit is contained in:
Reto Kaiser 2013-04-01 23:04:00 +02:00
parent 83084eedf9
commit 6f72e9570c
2 changed files with 5 additions and 2 deletions

View file

@ -113,6 +113,7 @@ class ArchivableFilesFinderTest extends \PHPUnit_Framework_TestCase
'prefixF.*',
'!/*/*/prefixF.foo',
'',
'refixD.foo',
)));
// git does not currently support negative git attributes