[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] exclude-vcs-ignores bug
From: |
Pavel Raiskup |
Subject: |
Re: [Bug-tar] exclude-vcs-ignores bug |
Date: |
Thu, 15 Dec 2016 11:19:21 +0100 |
User-agent: |
KMail/5.3.2 (Linux/4.8.13-300.fc25.x86_64; KDE/5.27.0; x86_64; ; ) |
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