Skip to content

Replace mixed line ending commit hook with .gitattributes.#474

Open
HexDecimal wants to merge 1 commit into
pypa:publicapifrom
HexDecimal:git-attributes
Open

Replace mixed line ending commit hook with .gitattributes.#474
HexDecimal wants to merge 1 commit into
pypa:publicapifrom
HexDecimal:git-attributes

Conversation

@HexDecimal
Copy link
Copy Markdown
Contributor

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.

This commit hook was preventing me from committing, but since I use
autoclrf I don't upload mixed line endings on commits even without a
hook preventing it.

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.
@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 25, 2022

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.76%. Comparing base (c85a333) to head (c69200e).
⚠️ Report is 46 commits behind head on publicapi.

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           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant