NutritionMate / Nutrition.Information.Api

This is an API to retrieve the nutritional information of a given food item.
MIT License
1 stars 1 forks source link

As a contributor to the Nutrition.Information.Api, I want automatically normalized line endings, so line endings are consistent and automatically converted to native line endings on checkout. #16

Closed PaddingtonBrown closed 7 years ago

PaddingtonBrown commented 7 years ago

As a contributor to the Nutrition.Information.Api, I want automatically normalized line endings, so line endings are consistent and automatically converted to native line endings on checkout.

Acceptance Criteria

Development Work Based on https://git-scm.com/docs/gitattributes , to ensure that text files that any contributor introduces to the repository have their line endings normalized, you can set the text attribute to "auto" for all files.

$ echo "* text=auto" >.gitattributes
$ rm .git/index     # Remove the index to force Git to
$ git reset         # re-scan the working directory
$ git status        # Show files that will be normalized
$ git add -u
$ git add .gitattributes

Definition of Ready

PaddingtonBrown commented 7 years ago

This has been done and merged into master via #17