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

re-stage files changed by end-of-file-fixer hook #1706

Closed
najisawas opened this issue Nov 20, 2020 · 1 comment
Closed

re-stage files changed by end-of-file-fixer hook #1706

najisawas opened this issue Nov 20, 2020 · 1 comment

Comments

@najisawas
Copy link

najisawas commented Nov 20, 2020

curious what the discussion around supporting an --autofix flag for the end-of-file-fixer is. It seems odd to me that although the hook fixes the issue, it won't re-stage the file and follow through with the commit if it is the only issue / adjustment to the file / commit. Currently a user's work flow is that they must restage and re-run git commit if this fails, which is slightly tedious and seems confusing

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

No branches or pull requests

2 participants