[Bug-tar] The --exclude-ignore option acts recursively, while it shouldn't

2016-10-30 Thread Kirill Pushkaryov
gt;flags only when they're equal to EXCL_DEFAULT (0x00), so EXCL_NON_RECURSIVE (0x02) pertaining to --exclude-ignore is dropped, which prevents the condition in excluded_name() (exclist.c:172) from skipping non-recursive entries from distant ancestors. -- WBR, Kirill Pushkaryov.

Incorrect recursive behaviour of --exclude-ignore, --exclude-vcs-ignores

2020-07-29 Thread Kirill Pushkaryov
re propagated from file->flags to ent->flags. Moreover, EXCL_NON_RECURSIVE flag in vcsfile->flags of .cvsignore entry is dropped too, because for .cvsignore file->flags == EXCL_DEFAULT. It looks like the condition in the code above is just erroneously inverted. I fixed this and the op

Incorrect recursive behaviour of --exclude-ignore, --exclude-vcs-ignores

2021-09-12 Thread Kirill Pushkaryov
IVE are propagated from file->flags to ent->flags. Moreover, EXCL_NON_RECURSIVE flag in vcsfile->flags of .cvsignore entry is dropped too, because for .cvsignore file->flags == EXCL_DEFAULT. It looks like the condition in the code above is just erroneously inverted. I fixed this and t