From 7e293acce3e66cd5292051119706e1a34b248092 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 2 Mar 2012 13:38:04 -0500 Subject: [PATCH] Exclude from source archives files specific to Git work tree Add the "export-ignore" attribute to all such files. Remove the suggestion from the README since this should not be a responsibility of the including project. --- .gitattributes | 3 +++ README | 7 ------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitattributes b/.gitattributes index 51d63be74..facbbb21c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,7 @@ .git* export-ignore +# Exclude from source archives files specific to Git work tree. +* export-ignore + tips eol=lf whitespace=indent-with-non-tab setup-* eol=lf whitespace=indent-with-non-tab diff --git a/README b/README index 2f9f1ec07..cf468fb68 100644 --- a/README +++ b/README @@ -37,13 +37,6 @@ Commit the merge with an informative message: the general GitSetup repository "setup" branch. ------------------------------------------------------------------------ -Optionally add to the project ".gitattributes" file the line - - /Utilities/GitSetup export-ignore - -to exclude the GitSetup directory from inclusion by "git archive" -since it does not make sense in source tarballs. - Configuration -------------