Merge branch 'rs/archive-excluded-directory' into maint
commitea8bf0009598ffa3305003d67514eafa49e14a25
authorJunio C Hamano <gitster@pobox.com>
Sun, 10 Sep 2017 08:02:55 +0000 (10 17:02 +0900)
committerJunio C Hamano <gitster@pobox.com>
Sun, 10 Sep 2017 08:02:55 +0000 (10 17:02 +0900)
tree8879780280f4189d1b2d15dfa265785f1017d7eb
parent78ad09403c0c87ae52573bbac2fa7e093152891d
parent5ff247ac0cc9b2d09c8c24bd0c8df12eed94aebc
Merge branch 'rs/archive-excluded-directory' into maint

"git archive" did not work well with pathspecs and the
export-ignore attribute.

We may want to resurrect the "we don't archive an empty directory"
bonus patch, but I do not mind merging the above early to 'next'
and leave it as a separate follow-up enhancement.
cf. <20170820090629.tumvqwzkromcykjf@sigill.intra.peff.net>

* rs/archive-excluded-directory:
  archive: don't queue excluded directories
  archive: factor out helper functions for handling attributes
  t5001: add tests for export-ignore attributes and exclude pathspecs