Permalink
Browse files

Add .gitattributes and fix line endings

Adding a .gitattributes in an attempt to fix our problems with line
endings. It is so easy to introduce LF endings and hopefully this will
help stop that.
  • Loading branch information...
1 parent be2ed47 commit a719a929944eb14587225e09929ce85cb4f86f0c @daniellee daniellee committed Sep 29, 2012
Showing with 21,971 additions and 21,949 deletions.
  1. +22 −0 .gitattributes
  2. +30 −30 .gitignore
  3. +25 −25 doc/VisualStudioTemplates/StandardAndAutoReversingMigrations.DotSettings
  4. +279 −279 src/FluentMigrator.Console/MigratorConsole.cs
  5. +174 −174 src/FluentMigrator.MSBuild/Migrate.cs
  6. +140 −140 src/FluentMigrator.NAnt/MigrateTask.cs
  7. +67 −67 src/FluentMigrator.Runner/Extensions/SqlServerExtensions.cs
  8. +342 −342 src/FluentMigrator.Runner/FluentMigrator.Runner.csproj
  9. +80 −80 src/FluentMigrator.Runner/Generators/Base/GeneratorBase.cs
  10. +411 −411 src/FluentMigrator.Runner/Generators/Generic/GenericGenerator.cs
  11. +185 −185 src/FluentMigrator.Runner/Generators/SqlServer/SqlServer2000Generator.cs
  12. +326 −326 src/FluentMigrator.Runner/Generators/SqlServer/SqlServer2005Generator.cs
  13. +61 −61 src/FluentMigrator.Runner/Generators/SqlServer/SqlServerColumn.cs
  14. +9 −9 src/FluentMigrator.Runner/Initialization/IRunnerContext.cs
  15. +41 −41 src/FluentMigrator.Runner/Initialization/RunnerContext.cs
  16. +395 −395 src/FluentMigrator.Runner/MigrationRunner.cs
  17. +11 −11 src/FluentMigrator.Runner/Processors/Firebird/FirebirdProcessor.cs
  18. +4 −4 src/FluentMigrator.Runner/Properties/AssemblyInfo.cs
  19. +383 −383 src/FluentMigrator.Tests/FluentMigrator.Tests.csproj
  20. +30 −30 src/FluentMigrator.Tests/Integration/Migrations/TestEmptyMigration.cs
  21. +165 −165 src/FluentMigrator.Tests/Integration/Processors/SqlServerProcessorTests.cs
  22. +76 −76 src/FluentMigrator.Tests/Unit/Builders/Insert/InsertDataExpressionBuilderTests.cs
  23. +47 −47 src/FluentMigrator.Tests/Unit/Generators/GenericGenerator/GenericGeneratorTests.cs
  24. +116 −116 src/FluentMigrator.Tests/Unit/Generators/SQLite/SQLiteDataTests.cs
  25. +125 −125 src/FluentMigrator.Tests/Unit/Generators/SqlServer2000/SqlServer2000Data.cs
  26. +168 −168 src/FluentMigrator.Tests/Unit/Generators/SqlServer2005/SqlServer2005Data.cs
  27. +435 −435 src/FluentMigrator.Tests/Unit/MigrationRunnerTests.cs
  28. +51 −51 src/FluentMigrator/Builders/IColumnTypeSyntax.cs
  29. +24 −24 src/FluentMigrator/Builders/Insert/IInsertDataSyntax.cs
  30. +69 −69 src/FluentMigrator/Builders/Insert/InsertDataExpressionBuilder.cs
  31. +72 −72 src/FluentMigrator/Expressions/InsertDataExpression.cs
  32. +344 −344 src/FluentMigrator/FluentMigrator.csproj
  33. +31 −31 src/FluentMigrator/IMigration.cs
  34. +3 −3 src/FluentMigrator/Infrastructure/IMigrationContext.cs
  35. +43 −43 src/FluentMigrator/Infrastructure/MigrationContext.cs
  36. +4 −4 src/FluentMigrator/Properties/AssemblyInfo.cs
  37. +11 −11 src/FluentMigrator/SystemMethods.cs
  38. +16 −16 src/SolutionInfo.cs
  39. +17,156 −17,156 tools/nant/NAnt.Core.xml
View
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+*.sln merge=union
+*.csproj merge=union
+*.vbproj merge=union
+*.fsproj merge=union
+*.dbproj merge=union
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
View
@@ -1,30 +1,30 @@
-*.sln.cache
-_ReSharper.*
-bin
-obj
-build
-dist
-*.suo
-*resharper*
-*.user
-TestResult.xml
-src/FluentMigrator.Example/tools/FluentMigrator
-db.sqlite
-*.orig
-*.pidb
-*.userprefs
-packages/FluentMigrator/
-packages/FluentMigrator.Tools/
-_UpgradeReport_Files
-UpgradeLog.XML
-*.bak
-pulls/*.patch
-src/*.vs10x
-*.vs10x
-src/FluentMigrator.Tests/FluentMigrator.VisualState.xml
-examplecommand.txt
-*.crunchproject.local.xml
-*.crunchsolution.local.xml
-*.ncrunchproject
-*.ncrunchsolution
-*.crunchsolution.cache
+*.sln.cache
+_ReSharper.*
+bin
+obj
+build
+dist
+*.suo
+*resharper*
+*.user
+TestResult.xml
+src/FluentMigrator.Example/tools/FluentMigrator
+db.sqlite
+*.orig
+*.pidb
+*.userprefs
+packages/FluentMigrator/
+packages/FluentMigrator.Tools/
+_UpgradeReport_Files
+UpgradeLog.XML
+*.bak
+pulls/*.patch
+src/*.vs10x
+*.vs10x
+src/FluentMigrator.Tests/FluentMigrator.VisualState.xml
+examplecommand.txt
+*.crunchproject.local.xml
+*.crunchsolution.local.xml
+*.ncrunchproject
+*.ncrunchsolution
+*.crunchsolution.cache
@@ -1,26 +1,26 @@
-<TemplatesExport family="File Templates">
- <Template uid="46112660-f637-4eb2-a7c0-2e7385b2b2e8" shortcut="" description="AutoReversingMigration" text="using FluentMigrator;&#xD;&#xA;&#xD;&#xA;namespace $NAMESPACE$&#xD;&#xA;{&#xD;&#xA; [Migration($MIGRATIONNUMBER$)]&#xD;&#xA; public class Migration$MIGRATIONNUMBER$ : AutoReversingMigration&#xD;&#xA; {&#xD;&#xA; public override void Up()&#xD;&#xA; {&#xD;&#xA; $END$&#xD;&#xA; }&#xD;&#xA; }&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
- <Categories />
- <Variables>
- <Variable name="NAMESPACE" expression="fileDefaultNamespace()" initialRange="-1" />
- <Variable name="MIGRATIONNUMBER" expression="getCurrentTime(&quot;yyyyMMddHHmmss&quot;)" initialRange="0" />
- </Variables>
- <CustomProperties>
- <Property key="FileName" value="_MigrationRENAME" />
- <Property key="Extension" value="cs" />
- <Property key="ValidateFileName" value="True" />
- </CustomProperties>
- </Template>
- <Template uid="79de0aee-f555-4c6b-b010-4db19e47c5e0" shortcut="" description="Migration" text="using FluentMigrator;&#xD;&#xA;&#xD;&#xA;namespace $NAMESPACE$&#xD;&#xA;{&#xD;&#xA; [Migration($MIGRATIONNUMBER$)]&#xD;&#xA; public class Migration$MIGRATIONNUMBER$ : Migration&#xD;&#xA; {&#xD;&#xA; public override void Up()&#xD;&#xA; {&#xD;&#xA; $END$&#xD;&#xA; }&#xD;&#xA;&#xD;&#xA; public override void Down()&#xD;&#xA; {&#xD;&#xA; &#xD;&#xA; }&#xD;&#xA; }&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
- <Categories />
- <Variables>
- <Variable name="NAMESPACE" expression="fileDefaultNamespace()" initialRange="-1" />
- <Variable name="MIGRATIONNUMBER" expression="getCurrentTime(&quot;yyyyMMddHHmmss&quot;)" initialRange="0" />
- </Variables>
- <CustomProperties>
- <Property key="FileName" value="_MigrationRENAME" />
- <Property key="Extension" value="cs" />
- <Property key="ValidateFileName" value="True" />
- </CustomProperties>
- </Template>
+<TemplatesExport family="File Templates">
+ <Template uid="46112660-f637-4eb2-a7c0-2e7385b2b2e8" shortcut="" description="AutoReversingMigration" text="using FluentMigrator;&#xD;&#xA;&#xD;&#xA;namespace $NAMESPACE$&#xD;&#xA;{&#xD;&#xA; [Migration($MIGRATIONNUMBER$)]&#xD;&#xA; public class Migration$MIGRATIONNUMBER$ : AutoReversingMigration&#xD;&#xA; {&#xD;&#xA; public override void Up()&#xD;&#xA; {&#xD;&#xA; $END$&#xD;&#xA; }&#xD;&#xA; }&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
+ <Categories />
+ <Variables>
+ <Variable name="NAMESPACE" expression="fileDefaultNamespace()" initialRange="-1" />
+ <Variable name="MIGRATIONNUMBER" expression="getCurrentTime(&quot;yyyyMMddHHmmss&quot;)" initialRange="0" />
+ </Variables>
+ <CustomProperties>
+ <Property key="FileName" value="_MigrationRENAME" />
+ <Property key="Extension" value="cs" />
+ <Property key="ValidateFileName" value="True" />
+ </CustomProperties>
+ </Template>
+ <Template uid="79de0aee-f555-4c6b-b010-4db19e47c5e0" shortcut="" description="Migration" text="using FluentMigrator;&#xD;&#xA;&#xD;&#xA;namespace $NAMESPACE$&#xD;&#xA;{&#xD;&#xA; [Migration($MIGRATIONNUMBER$)]&#xD;&#xA; public class Migration$MIGRATIONNUMBER$ : Migration&#xD;&#xA; {&#xD;&#xA; public override void Up()&#xD;&#xA; {&#xD;&#xA; $END$&#xD;&#xA; }&#xD;&#xA;&#xD;&#xA; public override void Down()&#xD;&#xA; {&#xD;&#xA; &#xD;&#xA; }&#xD;&#xA; }&#xD;&#xA;}" reformat="True" shortenQualifiedReferences="True">
+ <Categories />
+ <Variables>
+ <Variable name="NAMESPACE" expression="fileDefaultNamespace()" initialRange="-1" />
+ <Variable name="MIGRATIONNUMBER" expression="getCurrentTime(&quot;yyyyMMddHHmmss&quot;)" initialRange="0" />
+ </Variables>
+ <CustomProperties>
+ <Property key="FileName" value="_MigrationRENAME" />
+ <Property key="Extension" value="cs" />
+ <Property key="ValidateFileName" value="True" />
+ </CustomProperties>
+ </Template>
</TemplatesExport>
Oops, something went wrong.

0 comments on commit a719a92

Please sign in to comment.