Ahson Khan
|
4a78b2a8a8
|
Add a .gitattributes file and normalize line endings. (#1360)
Borrowing from other language SDKs:
0b93d0d19c/.gitattributes (L1)
69fdb8508c/.gitattributes (L1-L3)
213a83f087/.gitattributes (L17-L18)
https://git-scm.com/docs/gitattributes#_end_of_line_conversion
```bash
$ echo "* text=auto" >.gitattributes
$ git add --renormalize .
$ git status # Show files that will be normalized
$ git commit -m "Introduce end-of-line normalization"
```
If you `Hide whitespace changes`, you will see there are no code changes:
https://github.com/Azure/azure-sdk-for-c/pull/1360/files?diff=split&w=1
|
2020-09-24 22:10:59 +00:00 |