]> gitweb.fluxo.info Git - hydra.git/commitdiff
Sync: may ignore repositories
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2015 14:42:52 +0000 (12:42 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 19 Oct 2015 14:42:52 +0000 (12:42 -0200)
share/hydra/sync

index d425d90c058d3b7d06ede5a891d08242fd9a8073..9b1d0971bd03323bb539662895708df226850ecc 100755 (executable)
@@ -21,6 +21,10 @@ hydra_config_load
 # Sync each repository.
 function hydra_sync {
   for repository in $*; do
+    if [ -e "$HYDRA_FOLDER/config/repository/ignore/$repository" ]; then
+      continue
+    fi
+
     if [ "$repository" == "keyringer" ]; then
       UPDATE_KEYRINGER="yes"
       continue