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

fix: try ignoring empty patch files on pre commit hook #676

Conversation

mrexox
Copy link
Member

@mrexox mrexox commented Mar 15, 2024

Closes #627
Relates to #542

🔧 Summary

Check patch file size before trying to apply it. Remove the patch if it's empty and skip applying it.

@mrexox mrexox marked this pull request as ready for review March 15, 2024 08:07
@mrexox mrexox merged commit 099ab60 into evilmartians:master Mar 15, 2024
12 of 19 checks passed
@mrexox mrexox deleted the fix/try-ignoring-empty-patch-files-on-pre-commit-hook branch March 15, 2024 08:12
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.

Every time getting Couldn't restore hidden unstaged files: exit status 1 error
1 participant