From: Sergey Poznyakoff Date: Thu, 20 Aug 2015 14:49:13 +0000 (+0300) Subject: Add missing VCS files to --exclude-vcs list X-Git-Tag: release_1_29~50 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=429bd311b7b3124dc0bd4db95b1cd7b19ddc6e1b;p=debian%2Ftar Add missing VCS files to --exclude-vcs list * src/tar.c (vcs_file_table): Add .gitmodules and .gitattributes * doc/tar.texi: Update. --- diff --git a/doc/tar.texi b/doc/tar.texi index 96f6aeb4..fe750b6d 100644 --- a/doc/tar.texi +++ b/doc/tar.texi @@ -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 diff --git a/src/tar.c b/src/tar.c index 79475048..f8dd1a74 100644 --- a/src/tar.c +++ b/src/tar.c @@ -953,6 +953,8 @@ static char const * const vcs_file_table[] = { /* git: */ ".git", ".gitignore", + ".gitattributes", + ".gitmodules", /* Arch: */ ".arch-ids", "{arch}",