]> git.ipfire.org Git - thirdparty/tar.git/commit
Fix --exclude-ignore option.
authorSergey Poznyakoff <gray@gnu.org>
Mon, 15 Jan 2024 19:24:34 +0000 (21:24 +0200)
committerSergey Poznyakoff <gray@gnu.org>
Mon, 15 Jan 2024 19:24:34 +0000 (21:24 +0200)
commitf622c071089caf4d1dea111d6c5c6cf1d4fcfb0e
tree2276a80e6278ba6d7480f77c4104c268a75f9940
parentd763055eddbdba3d62ff358a741283f5da645c15
Fix --exclude-ignore option.

This fixes https://savannah.gnu.org/bugs/?64387.

* src/exclist.c (info_attach_exclist): Always use file->flags.
(exclude_vcs_ignores): Pass flags from struct vcs_ignore_file
to excfile_add.

* tests/exclude19.at: New test.
* tests/exclude20.at: New test.
* tests/Makefile.am: Add new tests.
* tests/testsuite.at: Add new tests.
src/exclist.c
tests/Makefile.am
tests/exclude18.at
tests/exclude19.at [new file with mode: 0644]
tests/exclude20.at [new file with mode: 0644]
tests/testsuite.at