aboutsummaryrefslogtreecommitdiff
path: root/templates/info
diff options
context:
space:
mode:
Diffstat (limited to 'templates/info')
-rw-r--r--templates/info/exclude6
-rw-r--r--templates/info/meson.build7
2 files changed, 13 insertions, 0 deletions
diff --git a/templates/info/exclude b/templates/info/exclude
new file mode 100644
index 0000000000..a5196d1be8
--- /dev/null
+++ b/templates/info/exclude
@@ -0,0 +1,6 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
diff --git a/templates/info/meson.build b/templates/info/meson.build
new file mode 100644
index 0000000000..026f231385
--- /dev/null
+++ b/templates/info/meson.build
@@ -0,0 +1,7 @@
+configure_file(
+ input: 'exclude',
+ output: 'exclude',
+ configuration: template_config,
+ install: true,
+ install_dir: get_option('datadir') / 'git-core/templates/info',
+)