bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

BUG: --exclude-vcs-ignores + .gitgignore in subdirs + first slash


From: Марк Коренберг
Subject: BUG: --exclude-vcs-ignores + .gitgignore in subdirs + first slash
Date: Fri, 26 Mar 2021 12:12:40 +0500

$ tar --version
tar (GNU tar) 1.32

Suppose structure of file system directories:
=======================
./a_dir
./a_dir/.gitgnore
./a_dir/aaa
./a_dir/bbb
./.gitignore
./xxx
./yyy
=======================
./.gitignore contains :
xxx
/yyy
==============
./a_dir/.gitgnore
aaa
/bbb
===================

In this case,  `tar -c --exclude-vcs-ignores --exclude-vcs ./a_dir`
works OK except ./a_dir/bbb is not ignored, which is the bug.

git actually ignores  ./a_dir/bbb

-- 
Segmentation fault



reply via email to

[Prev in Thread] Current Thread [Next in Thread]