#[remote "origin"]
# url = https://github.com/cdwertmann/rvm-rpm.git
# fetch = refs/heads/*:refs/heads/*
+
+COMMAND=$(basename $0)
+
function slave_repo () {
git_slave=$1; shift
cd $git_slave
- git fetch --all --tags -q
+ git fetch --all --tags -q || echo "$COMMAND failed in repo $git_slave"
}
for slave_dir in "$@"; do slave_repo $slave_dir; done