diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-02-20 16:44:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-02-20 16:44:31 -0300 |
commit | de706ad09146608ec89ed1cc0a742b4eb967cf24 (patch) | |
tree | 5f6ccff38c242a9e3df10543c4b351a4fa879392 | |
parent | f48ac6329f1ffada4088184ff646136a5adfc865 (diff) | |
download | hydra-de706ad09146608ec89ed1cc0a742b4eb967cf24.tar.gz hydra-de706ad09146608ec89ed1cc0a742b4eb967cf24.tar.bz2 |
Honor config/repository/ignore at init action
-rwxr-xr-x | share/hydra/init | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydra/init b/share/hydra/init index d3ec70f..0b6ef95 100755 --- a/share/hydra/init +++ b/share/hydra/init @@ -49,6 +49,10 @@ if [ ! -z "$REMOTE" ]; then # Initialize only the required repositories for repo in $BASEREPOS; do + if [ -e "$HYDRA_FOLDER/config/repository/ignore/$repo" ]; then + continue + fi + # There is a superproject, so we try to initialize submodules if [ -e '.gitmodules' ] && git submodule | grep -q " $repo$"; then git submodule update --init --recursive $repo |