From a4d69b979cf6a2378e64bca19777d316bdc16500 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sat, 14 Aug 2010 02:47:43 +0200 Subject: [PATCH] also checkout -f here --- misc/tools/xonotic-map-compiler-autobuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" -- 2.39.2