From 89cccc53ba64ce1b50e13ca7ffd70152583bd2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Wed, 11 Dec 2019 12:04:29 +0100 Subject: [PATCH] List paths which should be excluded from tarballs Convert the logic (currently present in the form of "rm -rf" calls in util/kit.sh) for removing files and directories which are tracked by Git but redundant in release tarballs into a set of .gitattributes rules which allow the same effect to be achieved using "git archive". (cherry picked from commit 925ecb0aae7caa257c8c704364f715e463c44f47) --- .gitattributes | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitattributes b/.gitattributes index ed57b52969..95b62b81a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,11 @@ *.sln.in eol=crlf *.vcxproj.in eol=crlf *.vcxproj.filters.in eol=crlf + +.gitignore export-ignore +/conftools export-ignore +/doc/design export-ignore +/doc/dev export-ignore +/util/** export-ignore +/util/bindkeys.pl -export-ignore +/util/mksymtbl.pl -export-ignore