X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=blobdiff_plain;f=misc%2Ftools%2Fxonotic-map-compiler-autobuild;h=1e81237a0337e3598410957427dc76202ec4ed1a;hp=668363650969d147f96b4e25e78d7c4068c3aa34;hb=6087e1d7ba9e5160d5ccad806b7f9c824b4a4006;hpb=ce515788e50b5b2ba2ab6c89ddb1c76d28f9af09 diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 66836365..1e81237a 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -4,6 +4,8 @@ bspdir="$PWD/bspfiles" mkdir -p "$bspdir" cd data/xonotic-maps.pk3dir git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do + git reset --hard + git clean -xfd git checkout "$HASH" for F in maps/*.map.options; do if ! [ -f "$F" ]; then