diff options
-rwxr-xr-x | git-meta.git/config | 4 | ||||
-rw-r--r-- | git-meta.git/description | 1 | ||||
-rw-r--r-- | git-meta.git/info/exclude | 6 | ||||
-rwxr-xr-x | update-gitmeta | 11 |
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 |