about summary refs log tree commit diff
path: root/nixos/cobalt/services/gitolite-noncore/fix-refs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-02-10 18:38:19 +0900
committersefidel <contact@sefidel.net>2023-02-10 18:38:45 +0900
commit0d28ac05f7ae524fe17a7a3485744e3ffa99ccb6 (patch)
treec1ab383a15c8705d99fe2f5e5a69373b3d951a4d /nixos/cobalt/services/gitolite-noncore/fix-refs
parent3a0ab37f75f127fa5a5746d4d741b0122ef7a8aa (diff)
downloadnixrc-0d28ac05f7ae524fe17a7a3485744e3ffa99ccb6.tar.gz
nixrc-0d28ac05f7ae524fe17a7a3485744e3ffa99ccb6.zip
feat(nixos): remove cobalt
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
-}