From ae86caef928f46a4b3f70a2901cfc6a61fcfaeb0 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Mon, 1 Nov 2010 15:51:18 +0000 Subject: [PATCH] no autocrlf for fteqcc repo --- all | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) 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 -- 2.39.2