Closed 20mithrandir closed 9 years ago
Is there maybe a virus scanner running on your machine? That may interfere with creating a new file as long as the old file is still blocked.
Only Microsoft Security Essentials, no other virus software. The HD performance in general could not be a problem?
Unlikely. The problem report indicates that git commit
fails while committing the index files, which means that unlocking the lock file failed.
I assume you use Git for Windows 1.x? In Git for Windows 2.x (which is still only available as a developers' preview), we use a more general strategy to work around issues when virus scanners (such as Security Essentials) access files we want to rename. Maybe you want to give it a shot? https://git-for-windows.github.io/#download
My versions: Git-1.9.5-preview20141217 (from release notes, shell: git version 1.9.5.msysgit.0) IntelliJ IDEA Ultimate 14.1.2
I'll give the 2.x version a try for now.
I'll give the 2.x version a try for now.
Did it work?
This problem surfaces in IntelliJ IDEA sporadically:
In my case I had three changed files and chose 'Commit & Push' in IntelliJ IDEA ... which lead to the above error. It seems that the commit was successful though and the error is a 'false positive'. This happened to me only twice the past two or three weeks, so I cannot reproduce the problem for further investigation.
After browsing through following issues most pointed to 'mysysgit', so I'm adding the issue here as well.
For further reference see: https://youtrack.jetbrains.com/issue/IDEA-82108 http://comments.gmane.org/gmane.comp.version-control.git/194030