This fixes EOL conversions flagged by git 1.7.1 core.autocrlf=true. At this
point, neither git 1.7.1 nor 1.7.2 show any automatic CRLF normalization.
I think we're ready for another experiment.
There seems to be a difference in the handling of mixed line-ending files
between git 1.7.2 and older versions, when core.autocrlf is set to true.
-#*.c crlf
-#*.h crlf
-#*.cs crlf
-#*.sh crlf
+# ensure LF endings on all checkouts
+configure.in crlf=input
-#ChangeLog crlf
-#*akefile* crlf
-#*.sources crlf
+# ensure native line endings on checkout
+*.c crlf
+*.h crlf
+*.cs crlf
+*.sh crlf
-# don't do anything to line-endings. Let CRLFs go into the repo
+.gitattributes crlf
+ChangeLog crlf
+*akefile* crlf
+*.sources crlf
+
+# don't do anything to line-endings. Let CRLFs go into the repo, and CRLF on checkout
*.bat -crlf
*.sln -crlf
*.*proj* -crlf
/cs1746.cs -crlf
/gcs0307-5.cs -crlf
/gcs1579.cs -crlf
+/CS0534-6-lib.cs -crlf
+/cs0133-2.cs -crlf
}
if ((ma & MethodAttributes.Static) != 0) {
- mod |= Modifiers.STATIC;\r
+ mod |= Modifiers.STATIC;
return mod;
}
if ((ma & MethodAttributes.Abstract) != 0 && declaringType.IsClass) {
- mod |= Modifiers.ABSTRACT;\r
+ mod |= Modifiers.ABSTRACT;
return mod;
}
candidates = a;
else
candidates.AddRange (a);
- }\r
-\r
- scope = parent;\r
- if (candidates != null)\r
- return candidates;\r
+ }
+
+ scope = parent;
+ if (candidates != null)
+ return candidates;
if (parent == null)
return null;
//
Namespace parent_ns = ns.Parent;
do {
- candidates = parent_ns.LookupExtensionMethod (extensionType, null, name, arity);\r
- if (candidates != null)\r
+ candidates = parent_ns.LookupExtensionMethod (extensionType, null, name, arity);
+ if (candidates != null)
return candidates;
parent_ns = parent_ns.Parent;
/gtest-525.cs -crlf
/gtest-linq-24.cs -crlf
/test-788.cs -crlf
+/gtest-anon-63.cs -crlf
+/gtest-exmethod-37.cs -crlf
+/gtest-iter-14.cs -crlf
+/test-anon-95.cs -crlf