-
-
Notifications
You must be signed in to change notification settings - Fork 716
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
file-contents-sorter
doesn't use consistent order with --ignore-case
option
#1105
Comments
works fine for me? please show an actual reproduction |
If lines differ only in case and you specify case-insensitive sorting the results are non-idempotent.
Then
|
then that's a dupe of #794 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to use
file-contents-sorter
to keep a dictionary file sorted, ignoring case. The hook runs fine and updates the file, but when I attempt to commit the changes, it resorts the file again, moving around some entries which differ only in case. If I try to commit those changes, the process repeats.The text was updated successfully, but these errors were encountered: