summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gen.rc1
-rw-r--r--template/config3
-rw-r--r--template/info/sparse-checkout3
3 files changed, 7 insertions, 0 deletions
diff --git a/gen.rc b/gen.rc
index 2058d3d0..9febaf9a 100644
--- a/gen.rc
+++ b/gen.rc
@@ -4,6 +4,7 @@ subgen devel
subgen extra
subgen util
+subninja template/local.ninja
file .perms '$outdir'/root.perms 644
diff --git a/template/config b/template/config
new file mode 100644
index 00000000..0a010eff
--- /dev/null
+++ b/template/config
@@ -0,0 +1,3 @@
+[core]
+ sharedRepository = 0600
+ sparseCheckout = true
diff --git a/template/info/sparse-checkout b/template/info/sparse-checkout
new file mode 100644
index 00000000..3dbef29d
--- /dev/null
+++ b/template/info/sparse-checkout
@@ -0,0 +1,3 @@
+*
+!/.perms
+!/LICENSE