From 42101fa565593a58f6df451a6aecf6fee51f70e0 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Fri, 14 Sep 2018 20:18:36 +0100 Subject: [PATCH] Add a .gitattributes file and populate it with initial export-ignore attributes This change allows developers to easily create a sanitized source archive for example: git archive --format=tar --prefix=wsjtx-2.0.0/ wsjtx-2.0.0-rc1 | gzip >wsjtx-2.0.0-rc1.tgz Which creates a sources tarball called wsjtx-2.0.0-rc1.tgz from the wsjtx-2.0.0-rc1 tag (substitute HEAD or a branch name or even a commit SHA for other contents). --- .gitattributes | 3 +++ sources.exclude | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) create mode 100644 .gitattributes delete mode 100644 sources.exclude diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..93434826f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +.gitattributes export-ignore +/samples export-ignore +/lib/fsk4hf export-ignore diff --git a/sources.exclude b/sources.exclude deleted file mode 100644 index 80ac1fccd..000000000 --- a/sources.exclude +++ /dev/null @@ -1,4 +0,0 @@ -.git -sources.exclude -samples -lib/fsk4hf