]> git.gag.com Git - debian/tar/commitdiff
Add missing VCS files to --exclude-vcs list
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 20 Aug 2015 14:49:13 +0000 (17:49 +0300)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 20 Aug 2015 14:52:20 +0000 (17:52 +0300)
* src/tar.c (vcs_file_table): Add .gitmodules and .gitattributes
* doc/tar.texi: Update.

doc/tar.texi
src/tar.c

index 96f6aeb4312af4b50b5aaaaa0b02dc600cca734e..fe750b6de7879fc2d03af5ed11707bcd8043d645 100644 (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
index 79475048e7e89f4d514b2ae5b87664bb61edb869..f8dd1a747e0cb3366025973bc4c00dcf6e441371 100644 (file)
--- 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}",