[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: incorrect excludes with -exclude-vcs-ignores and negative record lis
From: |
Christian Schoenebeck |
Subject: |
Re: incorrect excludes with -exclude-vcs-ignores and negative record list |
Date: |
Mon, 25 Oct 2021 17:30:46 +0200 |
On Montag, 25. Oktober 2021 16:49:47 CEST Ivan Kardykov wrote:
> Hi,
>
> I found a problem with --exclude-vcs-ignores key.
>
> If .gitignore (perhaps another vcs's too) contains records like this:
>
> # Ignore all
> *
> # except source files
> !*.c
> !*.h
>
> Tar will exclude all files without listed exceptions.
https://lists.gnu.org/archive/html/bug-tar/2021-09/msg00001.html
Best regards,
Christian Schoenebeck