This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has submitted this change and it was merged.
Change subject: osmo-clean-workspace: fix force checkout of a subdirectory
......................................................................
osmo-clean-workspace: fix force checkout of a subdirectory
Instead of the subdirectory, the main repository was
forced checked out.
Change-Id: If23e89872edf48dc5b751b3c069faf585bd6a3ef
---
M scripts/osmo-clean-workspace.sh
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Neels Hofmeyr: Looks good to me, approved
Harald Welte: Looks good to me, approved; Verified
diff --git a/scripts/osmo-clean-workspace.sh b/scripts/osmo-clean-workspace.sh
index 11a5b72..4b77066 100755
--- a/scripts/osmo-clean-workspace.sh
+++ b/scripts/osmo-clean-workspace.sh
@@ -31,12 +31,12 @@
# but clean each git of build artifacts.
if [ -d "$deps" ]; then
for dep_dir in "$deps"/* ; do
- git checkout -f HEAD
+ git -C "$dep_dir" checkout -f HEAD
git -C "$dep_dir" clean -dxf
done
fi
if [ -d "layer1-headers" ]; then
- git checkout -f HEAD
+ git -C "layer1-headers" checkout -f HEAD
git -C "layer1-headers" clean -dxf
fi
--
To view, visit https://gerrit.osmocom.org/6964
To unsubscribe, visit https://gerrit.osmocom.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: If23e89872edf48dc5b751b3c069faf585bd6a3ef
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>