Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add pre-commit contrib script #166

Merged
merged 1 commit into from
May 12, 2022
Merged

add pre-commit contrib script #166

merged 1 commit into from
May 12, 2022

Conversation

zimbatm
Copy link
Member

@zimbatm zimbatm commented May 12, 2022

This is working towards #78 . In the end that script would be shipped
with the treefmt binary, but for now let's just test it out.

This is working towards #78 . In the end that script would be shipped
with the treefmt binary, but for now let's just test it out.
@zimbatm zimbatm mentioned this pull request May 12, 2022
@zimbatm
Copy link
Member Author

zimbatm commented May 12, 2022

One known issue I found out is that if a file has a mix of staged and unstaged changes, the unstaged changes get lost. I'm not sure yet if the issue is with git stash push or git stash pop

@zimbatm zimbatm merged commit 9e21d3f into master May 12, 2022
@zimbatm zimbatm deleted the pre-commit-contrib branch May 12, 2022 16:20
brianmcgee pushed a commit to brianmcgee/treefmt that referenced this pull request Dec 9, 2022
This is working towards numtide#78 . In the end that script would be shipped
with the treefmt binary, but for now let's just test it out.
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