Added basic status messages.
Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
parent
5ebc121e2b
commit
cf772c9e40
1 changed files with 2 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ BRANCH="$2";
|
||||||
|
|
||||||
function perform_clone_or_pull {
|
function perform_clone_or_pull {
|
||||||
target="$1";
|
target="$1";
|
||||||
|
echo "Checking out working copy to remote:$target"
|
||||||
if [! -e "$target/.git" ]; then
|
if [! -e "$target/.git" ]; then
|
||||||
git clone "$REPO" "$target";
|
git clone "$REPO" "$target";
|
||||||
fi
|
fi
|
||||||
|
|
@ -16,6 +17,7 @@ function perform_clone_or_pull {
|
||||||
git fetch
|
git fetch
|
||||||
git checkout origin/$BRANCH
|
git checkout origin/$BRANCH
|
||||||
)
|
)
|
||||||
|
echo "Working copy checked out";
|
||||||
}
|
}
|
||||||
|
|
||||||
while read old_rew new_rew ref; do
|
while read old_rew new_rew ref; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue