You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2022/08/04 22:50:15 UTC

[GitHub] [cloudstack] jbampton commented on pull request #6273: Add `pre-commit` workflow with 3 Git hooks

jbampton commented on PR #6273:
URL: https://github.com/apache/cloudstack/pull/6273#issuecomment-1205844443

   Hey @DaanHoogland  best practice is to use only one type of line ending in a project.
   
   From the prettier site:
   
   "When people collaborate on a project from different operating systems, it becomes easy to end up with mixed line endings in a shared git repository. It is also possible for Windows users to accidentally change line endings in a previously committed file from LF to CRLF. Doing so produces a large git diff and thus makes the line-by-line history for a file (git blame) harder to explore."
   
   https://prettier.io/docs/en/options.html#end-of-line


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org