about summary refs log tree commit diff
path: root/colmena/cobalt/services
diff options
context:
space:
mode:
Diffstat (limited to 'colmena/cobalt/services')
-rw-r--r--colmena/cobalt/services/gitolite-noncore/rename2
1 files changed, 2 insertions, 0 deletions
diff --git a/colmena/cobalt/services/gitolite-noncore/rename b/colmena/cobalt/services/gitolite-noncore/rename
index 091de82..00aa5ca 100644
--- a/colmena/cobalt/services/gitolite-noncore/rename
+++ b/colmena/cobalt/services/gitolite-noncore/rename
@@ -55,6 +55,8 @@ mv $GL_REPO_BASE/$from.git $topath
 
 $takeover && echo $GL_USER > $topath/gl-creator
 
+[ -f "$HOME/projects.list" ] && sed "s:$from.git$:$to.git:g" -i "$HOME/projects.list"
+
 echo "$from renamed to $to" >&2
 
 exit