From: Rudolf Polzer Date: Sat, 14 Aug 2010 00:47:43 +0000 (+0200) Subject: also checkout -f here X-Git-Tag: xonotic-v0.1.0preview~301 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=a4d69b979cf6a2378e64bca19777d316bdc16500 also checkout -f here --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 8f3f4aa0..c2d7fe6b 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -173,10 +173,10 @@ case "$1" in git for-each-ref 'refs/remotes' | while read -r HASH TYPE REFNAME; do git reset --hard git clean -xfd - git checkout "$HASH" + git checkout -f "$HASH" allmaps buildthemap "$REFNAME" "$HASH" "$url" "$bspoutdir" done - git checkout master + git checkout -f master ;; download) mkdir -p "$bspdir" "$bspdir.old"