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}",