$ 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