Added basic status messages.

Signed-off-by: Tony Tkacik <tonydamage@gmail.com>
This commit is contained in:
Tony Tkáčik 2019-05-03 12:59:21 +02:00
parent 5ebc121e2b
commit cf772c9e40

View file

@ -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