-
Notifications
You must be signed in to change notification settings - Fork 85
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
Incorrect complain about file has been changed since last search #58
Comments
There are several reasons can mess up CtrlSF's saving. I need more information to debug. Please update to latest version, and turn on debug mode by Keep an eye on message of If you can't figure out what is going wrong, report here. And also with your system's information, like
|
I found the reason. It is about different line endings. That ^M thing when Windows file is opened in Linux... Not sure how to fix it... Do you think it is a good idea to add option to ignore whitespace changes in InconsistenContent check? |
Thank you for your helpful bug report, I have fixed this bug in #59 . It will be soon merged into |
The fix has been merged into I'll close this issue. But if you find the fix has not actually fixed, feel free to reopen this. |
I tried it on rather large number of files: Chyba při zpracování function ctrlsf#Save..ctrlsf#edit#Save..156_SaveFile..156_VerifyConsistent: |
Most files are saved correctly as the last line states. |
It's a known issue related to ggreer/the_silver_searcher#685 But if it's hard to be fixed in |
Thank hou for great plugin! It is awesome! |
Hi, this is a great plugin, but this error makes it not very usefull.
It is inside a git repository and I know for sure that file has not been modified since last search. Also running CtrlsfUpdate doesn't help since it shows exactly the same result and also editing and writing fails with the same error.
File ... has been changed since last search. Skip this file. Please run :CtrlsfUpdate to update your search result.
d since last search. Skip this file. Please run :CtrlsfUpdate to update your search result.
0 files are saved (1 skipped).
The text was updated successfully, but these errors were encountered: