From: Rudolf Polzer Date: Mon, 1 Nov 2010 15:51:18 +0000 (+0000) Subject: no autocrlf for fteqcc repo X-Git-Tag: xonotic-v0.1.0preview~99 X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=ae86caef928f46a4b3f70a2901cfc6a61fcfaeb0 no autocrlf for fteqcc repo --- diff --git a/all b/all index 3e372b85..e5674a9e 100755 --- a/all +++ b/all @@ -120,7 +120,7 @@ div0-gittools | d0_blind_id | | master | data/xonotic-maps.pk3dir | | master | mediasource | | master | no -fteqcc | | xonotic-stable | +fteqcc | | xonotic-stable | noautocrlf " # todo: in darkplaces, change repobranch to div0-stable @@ -308,7 +308,14 @@ fix_git_config() verbose git config --unset remote.origin.pushurl || true fi verbose git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" - verbose git config core.autocrlf input + case ",`repoflags "$d"`," in + *,noautocrlf,*) + verbose git config --unset core.autocrlf + ;; + *) + verbose git config core.autocrlf input + ;; + esac if [ -z "`git config push.default || true`" ]; then verbose git config push.default current # or is tracking better? fi