also checkout -f here
authorRudolf Polzer <divVerent@alientrap.org>
Sat, 14 Aug 2010 00:47:43 +0000 (02:47 +0200)
committerRudolf Polzer <divVerent@alientrap.org>
Sat, 14 Aug 2010 00:47:43 +0000 (02:47 +0200)
misc/tools/xonotic-map-compiler-autobuild

index 8f3f4aa0539ef84828a91b50378b0cd3bee7ecb2..c2d7fe6b8b1e625f4279cd968d9e7e232f912519 100755 (executable)
@@ -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"