about summary refs log tree commit diff
path: root/nixos/cobalt/services/gitolite-noncore/fix-refs
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/cobalt/services/gitolite-noncore/fix-refs')
-rw-r--r--nixos/cobalt/services/gitolite-noncore/fix-refs9
1 files changed, 0 insertions, 9 deletions
diff --git a/nixos/cobalt/services/gitolite-noncore/fix-refs b/nixos/cobalt/services/gitolite-noncore/fix-refs
deleted file mode 100644
index 8ffec9e..0000000
--- a/nixos/cobalt/services/gitolite-noncore/fix-refs
+++ /dev/null
@@ -1,9 +0,0 @@
-[[ $4 == W ]] || exit 0
-
-cd $GL_REPO_BASE/$2.git
-
-head=`git symbolic-ref HEAD`
-[[ -f $head ]] || {
-  set -- refs/heads/*
-  git symbolic-ref HEAD $1
-}