michaellperry/UpdateControls — pull request #1 by robertvazan (2014-06-23 12:43:57+00:00)
Title: Fixed line endings

When I forked UpdateControls and checked out the project, I've noticed that many files get marked as modified even in fresh checkout. These are the offending files:

NuGet\App\content\Models\Document.cs.pp
NuGet\App\content\Models\Item.cs.pp
NuGet\App\content\Models\Selection.cs.pp
NuGet\App\content\Readme_UpdateControls.txt.pp
NuGet\App\content\ViewModels\ItemHeader.cs.pp
NuGet\App\content\ViewModels\ItemViewModel.cs.pp
NuGet\App\content\ViewModels\MainViewModel.cs.pp
NuGet\App\content\ViewModels\ViewModelLocator.cs.pp
NuGet\Snippets\content\Readme_UpdateControls_Snippets.txt
NuGet\Snippets\tools\dep.snippet
NuGet\Snippets\tools\depList.snippet
NuGet\Snippets\tools\ind.snippet
NuGet\Snippets\tools\indList.snippet
NuGet\Snippets\tools\install.ps1
NuGet\Snippets\tools\uninstall.ps1

I've done some research and this is due to Git's CRLF <-> LF conversion logic, which is enabled in .gitattributes with line "* text=auto". Apparently some files have been committed with CRLF despite this setting, perhaps because of some import from SVN. Git then converts them to LF while checking for changes, which results in phantom modifications.

This pull request simply re-commits all those files with LF line endings, i.e. they will be LF in repository and CRLF in checkouts. Please merge it ASAP as it prevents people from creating new pull requests for actual features (I have a huge pile of those).