Skip to content

Commit

Permalink
Normalise line endings using a .gitattributes file. Unfortunately
Browse files Browse the repository at this point in the history
this required that this commit globally modify most files. If you
want to use git blame to see the real author of a line use the
``-w`` flag so that whitespace changes are ignored.
  • Loading branch information
Dan Liew committed Jun 28, 2015
1 parent e11d650 commit 962f8d5
Show file tree
Hide file tree
Showing 754 changed files with 301,421 additions and 301,380 deletions.
41 changes: 41 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Autodetect text files and ensure that we normalise their
# line endings to lf internally. When checked out they may
# use different line endings.
* text=auto

# Check out with crlf (Windows) line endings
*.sln text eol=crlf
*.csproj text eol=crlf
*.cs text diff=csharp eol=crlf
*.fs text eol=crlf
*.fsproj text eol=crlf
*.fsy text eol=crlf
*.fsl text eol=crlf
*.resx text eol=crlf
*.vsixmanifest text eol=crlf
*.atg text eol=crlf
version.ssc text eol=crlf
packages.config text eol=crlf
App.config text eol=crlf
Build/updateVersionFile.xml text eol=crlf
*.bat text eol=crlf
*.cmd text eol=crlf
*.snippet text eol=crlf

# Check out with lf (UNIX) line endings
*.sh text eol=lf
*.py text eol=lf
Makefile text eol=lf
.gitignore text eol=lf
.gitattributes text eol=lf
*.el text eol=lf
*.sty text eol=lf
*.vim text eol=lf
lit.site.cfg text eol=lf
lit.local.cfg text eol=lf
*.expect text eol=lf
*.md text eol=lf

# For the remaining files the line endings of checked out
# files is defined by the ``core.eol`` git config variable.
# By default this is the native line ending for the platform.
38 changes: 19 additions & 19 deletions Build/updateVersionFile.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask AssemblyFile="CodePlex.Tools.MsBuild.dll" TaskName="CreateAssemblyInfo" />

<Target Name="CreateAssemblyInfo">
<CreateAssemblyInfo
Version="$(CCNetLabel)"
CreateVersionFile="true"
ForceReadOnly="true"
VersionFileName="..\Source\version.ssc"
/>
<CreateAssemblyInfo
Version="$(CCNetLabel)"
CreateVersionFile="true"
ForceReadOnly="true"
VersionFileName="..\Source\version.cs"
/>
</Target>
</Project>

<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask AssemblyFile="CodePlex.Tools.MsBuild.dll" TaskName="CreateAssemblyInfo" />

<Target Name="CreateAssemblyInfo">
<CreateAssemblyInfo
Version="$(CCNetLabel)"
CreateVersionFile="true"
ForceReadOnly="true"
VersionFileName="..\Source\version.ssc"
/>
<CreateAssemblyInfo
Version="$(CCNetLabel)"
CreateVersionFile="true"
ForceReadOnly="true"
VersionFileName="..\Source\version.cs"
/>
</Target>
</Project>

406 changes: 203 additions & 203 deletions Source/AIFramework/AIFramework.csproj

Large diffs are not rendered by default.

Loading

0 comments on commit 962f8d5

Please sign in to comment.