aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVishal Bhoj <vishal.bhoj@linaro.org>2015-09-24 21:50:24 +0530
committerVishal Bhoj <vishal.bhoj@linaro.org>2015-09-24 21:50:27 +0530
commitc4da9e8d0bab997f1a52298c8b805a69cc853ed9 (patch)
tree1225a0e6131b8fd0d730566bcf5e6eca0b13d89b
parent51a14bfa975502eee2394fd9505780596af3dea1 (diff)
downloadlinaro-android-build-tools-c4da9e8d0bab997f1a52298c8b805a69cc853ed9.tar.gz
Allow git history to be lost while doing a repo sync
Since we apply patches, we run into this issue where it doesn't overwrite the history hence we need to force it. Change-Id: I7811a3bdba8ff9f7cb22d83cc740255ae1a96903 Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
-rw-r--r--build-scripts/helpers4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-scripts/helpers b/build-scripts/helpers
index 27e4662..3380ef0 100644
--- a/build-scripts/helpers
+++ b/build-scripts/helpers
@@ -29,9 +29,9 @@ setup-repo-vars () {
repo-sync-stubborn () {
for i in 1 2; do
- time repo sync $REPO_QUIET -j$SYNC_JOBS -f || true
+ time repo sync --force-sync $REPO_QUIET -j$SYNC_JOBS -f || true
done
- time repo sync $REPO_QUIET -j$SYNC_JOBS
+ time repo sync --force-sync $REPO_QUIET -j$SYNC_JOBS
}
repo-sync-from-mirror () {