summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/utils2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/utils b/scripts/utils
index c28a2ea..28add96 100644
--- a/scripts/utils
+++ b/scripts/utils
@@ -10,7 +10,7 @@ echo_stage() {
# Second argument is name of directory to which will be repository cloned to.
git_fetch_bare() {
if [ -d "$WORKSPACE/$2" ]; then
- git --git-dir="$WORKSPACE/$2" --bare remote update
+ git --git-dir="$WORKSPACE/$2" --bare remote update --prune
else
git clone --mirror "$1" "$WORKSPACE/$2"
fi