From: Rudolf Polzer Date: Fri, 16 Apr 2010 17:12:40 +0000 (+0200) Subject: set autocrlf and safecrlf in all repos automatically X-Git-Tag: xonotic-v0.1.0preview~498 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=3413c77de63c2460642ccd31b55b485b39f9df33 set autocrlf and safecrlf in all repos automatically --- diff --git a/all b/all index 4df3b9a1..bf6dfb98 100755 --- a/all +++ b/all @@ -156,6 +156,9 @@ case "$cmd" in verbose git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" # TODO remove this line later + git config core.autocrlf input + git config core.safecrlf true + r=`git symbolic-ref HEAD` r=${r#refs/heads/} if git config branch.$r.remote >/dev/null 2>&1; then