t5001: add tests for export-ignore attributes and exclude pathspecs
commitbed69a6e82bbef99159f9051fd4581cd37c9acf6
authorRené Scharfe <l.s.r@web.de>
Sat, 19 Aug 2017 05:28:54 +0000 (19 07:28 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Aug 2017 07:40:22 +0000 (19 00:40 -0700)
tree26e5d143868f88f364e3b46bac40edd0e49136d7
parent4d7268b888d7bb6d675340ec676e4239739d0f6d
t5001: add tests for export-ignore attributes and exclude pathspecs

Demonstrate mishandling of the attribute export-ignore by git archive
when used together with pathspecs.  Wildcard pathspecs can even cause it
to abort.  And a directory excluded without a wildcard is still included
as an empty folder in the archive.

Test-case-by: David Adam <zanchey@ucc.gu.uwa.edu.au>
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5001-archive-attr.sh