aboutsummaryrefslogtreecommitdiff
path: root/.gitattributes
diff options
context:
space:
mode:
authorEugene Kliuchnikov <eustas.ru@gmail.com>2020-05-15 13:04:17 +0200
committerGitHub <noreply@github.com>2020-05-15 13:04:17 +0200
commitf0db711f46e6fdf0ec300c2b6eccf58bc46fe8cf (patch)
treee7f5cae7aa7d0e6ff1e8e18990f09152be214b02 /.gitattributes
parent7f740f1308336e9ec0afdb9434896307859f5dc9 (diff)
downloadbrotli-f0db711f46e6fdf0ec300c2b6eccf58bc46fe8cf.zip
brotli-f0db711f46e6fdf0ec300c2b6eccf58bc46fe8cf.tar.gz
brotli-f0db711f46e6fdf0ec300c2b6eccf58bc46fe8cf.tar.bz2
Filter sources for the tarball. (#808)
Diffstat (limited to '.gitattributes')
-rw-r--r--.gitattributes32
1 files changed, 32 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index a1665da..9a841cd 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,33 @@
tests/testdata/* binary
+
+# Exclude everything
+**/** export-ignore
+
+# Add top-level files
+bootstrap !export-ignore
+BUILD !export-ignore
+CMakeLists.txt !export-ignore
+compiler_config_setting.bzl !export-ignore
+configure !export-ignore
+configure-cmake !export-ignore
+configure.ac !export-ignore
+CONTRIBUTING.md !export-ignore
+LICENSE !export-ignore
+Makefile !export-ignore
+Makefile.am !export-ignore
+MANIFEST.in !export-ignore
+premake5.lua !export-ignore
+README !export-ignore
+README.md !export-ignore
+WORKSPACE !export-ignore
+
+# Add sources
+c !export-ignore
+c/** !export-ignore
+c/common/dictionary.bin* export-ignore
+c/fuzz export-ignore
+
+# Add man pages
+docs !export-ignore
+docs/** !export-ignore
+docs/brotli-comparison-study-2015-09-22.pdf export-ignore \ No newline at end of file