We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
git diff-index
The line:
git diff-index --quiet HEAD -- || error "uncommitted changes detected 2"
Occasionally fails on mac. The problem seems very sensitive -- doing a git status or a sleep 1 just before seems to fix the problem.
git status
sleep 1
The text was updated successfully, but these errors were encountered:
git update-index --refresh -- before running git diff-index seems to clear up the problem reliably.
git update-index --refresh --
Sorry, something went wrong.
145de8a
After the fix, I am having an error:
error: --refresh: does not exist and --remove not passed fatal: Unable to process path --refresh
Fixed the fix. @alex-konovalov next time, please submit a new issue. I only saw this comment on a closed issue by pure chance
No branches or pull requests
The line:
Occasionally fails on mac. The problem seems very sensitive -- doing a
git status
or asleep 1
just before seems to fix the problem.The text was updated successfully, but these errors were encountered: