[asterisk-scf-commits] asterisk-scf/integration/gitall.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Thu Jun 2 14:46:51 CDT 2011
branch "master" has been updated
via c7c83b3294f0c5c3a5ff88b9e5bb9159d6555954 (commit)
from 10c3f76372457494c60641a89ba542f753ffa2aa (commit)
Summary of changes:
gitall-asterisk-scf.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit c7c83b3294f0c5c3a5ff88b9e5bb9159d6555954
Author: Kevin P. Fleming <kpfleming at digium.com>
Date: Thu Jun 2 13:16:00 2011 -0500
Ensure 'push' URLs are set on newly-cloned repositories.
When cloning a repository, if a 'push' URL has been set on the gitall clone,
set that as the 'push' URL on the newly-cloned repository as well (rather
than waiting until the next pull to update it).
diff --git a/gitall-asterisk-scf.sh b/gitall-asterisk-scf.sh
index a60d082..04fb9d7 100755
--- a/gitall-asterisk-scf.sh
+++ b/gitall-asterisk-scf.sh
@@ -212,6 +212,9 @@ EOF
else
echo ">> Cloning from ${repoUri} to ${repoDir}"
git clone ${repoUri} ${repoDir}
+ if test ${config_gitdepot_push}; then
+ git_in_dir ${repoDir} remote set-url --push origin ${configRepoPushUri}
+ fi
fi
} 2>&1 | collapse
done
-----------------------------------------------------------------------
--
asterisk-scf/integration/gitall.git
More information about the asterisk-scf-commits
mailing list