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

Use more git plumbing commands in staged-files-only #571

Merged
merged 1 commit into from Aug 1, 2017
Merged

Conversation

asottile
Copy link
Member

No description provided.

@asottile
Copy link
Member Author

well this patch seems to not work well on windows! I'll need to look into why though :)

@asottile asottile changed the title Use git plumbing commands in staged-files-only Use more git plumbing commands in staged-files-only Jul 31, 2017
@asottile
Copy link
Member Author

For whatever reason, I couldn't get git checkout-index --all --force to work on windows when core.autocrlf was set to input (it wasn't actually checking out the files???) I'm not sure if this is a bug, I'll try and write up a testcase.

For now I've switched the checkout-index back to checkout

@asottile
Copy link
Member Author

Here's the mailing list entry I sent to the git mailing list

@asottile asottile merged commit ce7481f into master Aug 1, 2017
@asottile asottile deleted the plumbing branch August 1, 2017 18:25
droctothorpe pushed a commit to droctothorpe/pre-commit that referenced this pull request Mar 23, 2022
Update `pretty-format-json` to write to stdout with utf-8 encoding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant