aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/osmo-clean-workspace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/osmo-clean-workspace.sh')
-rwxr-xr-xscripts/osmo-clean-workspace.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/osmo-clean-workspace.sh b/scripts/osmo-clean-workspace.sh
index 4b77066..fcbfea8 100755
--- a/scripts/osmo-clean-workspace.sh
+++ b/scripts/osmo-clean-workspace.sh
@@ -25,7 +25,8 @@ chmod -R +w .
git checkout -f HEAD
# wipe all unversioned leftovers, except deps gits.
-git clean -dxf -e "$deps" -e "layer1-headers"
+# Git automatically excludes subdirs that are git clones.
+git clean -dxf
# leave the deps checkouts around, to not clone entire git history every time,
# but clean each git of build artifacts.