summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-09-23 09:31:28 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2014-09-23 09:55:08 +0200
commitb7c7a2a32c66827fb5f5dbcb66323050b44ac330 (patch)
treedacb7cb06200ed4c4b59aa184bf7d08200ac5f91
parent780e44da0e40d1ba858853f14fa9a008db49ea93 (diff)
downloadmicrocom-b7c7a2a32c66827fb5f5dbcb66323050b44ac330.tar.gz
microcom-b7c7a2a32c66827fb5f5dbcb66323050b44ac330.tar.xz
don't add .gitignore to archives created by git-archive
The contents of a microcom.tar.gz or microcom.zip are not expected to be readded to a git repository. So don't add the git specific files to such an archive. The motivation for this change is that lintian (a static checker for Debian packages) criticizes that there is no copyright declared for .gitignore. As .gitignore is hardly copyrightable simply not including it in the original source is the simplest way to please lintian.
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..e4504cf
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+.git* export-ignore