On Thursday, December 15, 2016 11:09:39 AM CET Pavel Raiskup wrote: > Anyways, it looks like this deserves separate library > doing the right thing WRT .gitignore [1]. > > [1] https://git-scm.com/docs/gitignore
Seems like there's 'git check-ignore PATTERN' which is not really library, but maybe it's better then reimplement gitignore pattern matching. As a workaround, one can generate the list of files to be archived and use that list as tar's '-T' parameter. Pavel