wheel icon indicating copy to clipboard operation
wheel copied to clipboard

Replace mixed line ending commit hook with .gitattributes.

Open HexDecimal opened this issue 3 years ago • 1 comments

This commit hook was causing me some issues. Since I use autoclrf I don't upload mixed line endings on commits even without a hook preventing it, but that's a local setting.

A .gitattributes file enforces line endings regardless of local settings. This does what this commit hook was intending to do but works better across platforms.

HexDecimal avatar Oct 25 '22 08:10 HexDecimal

Codecov Report

Base: 68.76% // Head: 68.76% // No change to project coverage :thumbsup:

Coverage data is based on head (c69200e) compared to base (c85a333). Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##           publicapi     #474   +/-   ##
==========================================
  Coverage      68.76%   68.76%           
==========================================
  Files             11       11           
  Lines            986      986           
==========================================
  Hits             678      678           
  Misses           308      308           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

codecov[bot] avatar Oct 25 '22 08:10 codecov[bot]