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
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
All existing files' line endings are normalized
Given I commit a change or new file to the Nutrition.Information.Api, when I push that file, then the line endings are normalized.
Given I checkout the Nutrition.Information.Api repository, then line endings are converted to the native line endings of the operating system.
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
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.
Definition of Ready