diff options
author | Brad King <brad.king@kitware.com> | 2012-03-02 18:38:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-02 18:39:29 (GMT) |
commit | 7e293acce3e66cd5292051119706e1a34b248092 (patch) | |
tree | 67c69e114fb2b439000465e364b3d23874b387fb | |
parent | 2f79eb8e3a19d251cac7a4df7dbc29a20fda23f3 (diff) | |
download | CMake-7e293acce3e66cd5292051119706e1a34b248092.zip CMake-7e293acce3e66cd5292051119706e1a34b248092.tar.gz CMake-7e293acce3e66cd5292051119706e1a34b248092.tar.bz2 |
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.
-rw-r--r-- | .gitattributes | 3 | ||||
-rw-r--r-- | README | 7 |
2 files changed, 3 insertions, 7 deletions
diff --git a/.gitattributes b/.gitattributes index 51d63be..facbbb2 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 @@ -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 ------------- |