mirror of https://gerrit.osmocom.org/osmo-ci
osmo-clean-workspace.sh: cosmetic: no need to clean -e deps
git clean always excludes git clone subdirs; furthermore, even if I supply a dir as -e, the contents of that dir still get cleaned out. So it is useless to pass -e on the commandline. Drop it. Change-Id: I2b59cc9c9adf88a2663469b22cfeffbd66b5bf2e
This commit is contained in:
parent
a73b13b80f
commit
91404470d6
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue