[PATCH 6/6] t: check that a pattern without trailing slash matches a directory

2013-03-28 Thread Jeff King
Prior to v1.8.1.1, with: git init echo content foo mkdir subdir echo content subdir/bar echo subdir export-ignore .gitattributes git add . git commit -m one git archive HEAD | tar tf - the resulting archive would contain only foo and .gitattributes, not subdir. This was

Re: [PATCH 6/6] t: check that a pattern without trailing slash matches a directory

2013-03-28 Thread Eric Sunshine
On Thu, Mar 28, 2013 at 5:50 PM, Jeff King p...@peff.net wrote: A pattern subdir should match any path subdir, whether it is a directory or a non-diretory. A pattern subdir/ insists that a s/diretory/directory/ [1] path subdir must be a directory for it to match. [1]:

Re: [PATCH 6/6] t: check that a pattern without trailing slash matches a directory

2013-03-28 Thread Jeff King
On Thu, Mar 28, 2013 at 06:21:08PM -0400, Eric Sunshine wrote: On Thu, Mar 28, 2013 at 5:50 PM, Jeff King p...@peff.net wrote: A pattern subdir should match any path subdir, whether it is a directory or a non-diretory. A pattern subdir/ insists that a s/diretory/directory/ [1] I think