From: Rudolf Polzer Date: Mon, 9 Aug 2010 12:01:18 +0000 (+0200) Subject: ./all clean -f X-Git-Tag: xonotic-v0.1.0preview~316 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=816c025b12fc4726a7c7fb6ef73d395cdc4c2eda;ds=sidebyside ./all clean -f --- diff --git a/all b/all index bda0c655..ef561178 100755 --- a/all +++ b/all @@ -857,8 +857,15 @@ case "$cmd" in echo "$report" | ssh nexuiz@rm.endoftheinternet.org cat '>>' public_html/xonotic-merge-notes.txt ;; clean) + force=false + if [ x"$1" = x"-f" ]; then + force=true + fi for d in $repos; do enter "$d0/$d" verbose + if $force; then + git checkout-index -fa + fi case "$d" in .) git clean -df