Add missing VCS files to --exclude-vcs list

* src/tar.c (vcs_file_table): Add .gitmodules and .gitattributes
* doc/tar.texi: Update.
This commit is contained in:
Sergey Poznyakoff
2015-08-20 17:49:13 +03:00
parent eb621c67cf
commit 429bd311b7
2 changed files with 4 additions and 0 deletions

View File

@@ -7564,6 +7564,8 @@ As of version @value{VERSION}, the following files are excluded:
@item @file{SCCS/}, and everything under it
@item @file{.git/}, and everything under it
@item @file{.gitignore}
@item @file{.gitmodules}
@item @file{.gitattributes}
@item @file{.cvsignore}
@item @file{.svn/}, and everything under it
@item @file{.arch-ids/}, and everything under it

View File

@@ -953,6 +953,8 @@ static char const * const vcs_file_table[] = {
/* git: */
".git",
".gitignore",
".gitattributes",
".gitmodules",
/* Arch: */
".arch-ids",
"{arch}",