summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParabola git <git@parabola.nu>2014-10-03 19:14:03 +0100
committerParabola git <git@parabola.nu>2014-10-03 19:14:03 +0100
commit692da49ede9179f0f283e072af3817627738cabd (patch)
tree2630cc5c83c6da3c16b42011643409b8c00bd9bc
parentef8c7bb0b70a25c7fe234908c4e01dab58ca2b7e (diff)
Manual update
-rwxr-xr-xgit-meta.git/config4
-rw-r--r--git-meta.git/description1
-rw-r--r--git-meta.git/info/exclude6
-rwxr-xr-xupdate-gitmeta11
4 files changed, 22 insertions, 0 deletions
diff --git a/git-meta.git/config b/git-meta.git/config
new file mode 100755
index 0000000..07d359d
--- /dev/null
+++ b/git-meta.git/config
@@ -0,0 +1,4 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = true
diff --git a/git-meta.git/description b/git-meta.git/description
new file mode 100644
index 0000000..c60f4af
--- /dev/null
+++ b/git-meta.git/description
@@ -0,0 +1 @@
+Metadata about git repositories hosted on projects.parabola.nu
diff --git a/git-meta.git/info/exclude b/git-meta.git/info/exclude
new file mode 100644
index 0000000..a5196d1
--- /dev/null
+++ b/git-meta.git/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/update-gitmeta b/update-gitmeta
new file mode 100755
index 0000000..3552735
--- /dev/null
+++ b/update-gitmeta
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -e
+message="$1"
+
+cd
+export GIT_DIR="$PWD/.gitmeta"
+if [[ -n $(git status -s .) ]]; then
+ git add .
+ git commit -m "$message"
+ git push
+fi