]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
set autocrlf and safecrlf in all repos automatically
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 57d92453a1d1e89e0536081087b16d696a34bdef..bf6dfb9856c062e4f2f5af9827abf4bbdcc5d1e1 100755 (executable)
--- a/all
+++ b/all
@@ -153,7 +153,11 @@ case "$cmd" in
                                                fi
                                                ;;
                                esac
-                               verbose git config remote.origin.fetch "refs/heads/*:refs/remotes/origin/*"
+                               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/}