[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] IOException: "Cannot commit write to"

One of our user has encountered following problem on Windows:

java.io.IOException:
Cannot commit write to C:\Users\mike\repo\.git\config
	at
org.eclipse.jgit.storage.file.FileBasedConfig.save(FileBasedConfig.java:210)

Finally, the user was left with an empty (or missing) .git/config.

As far as I understand the LockFile which had been created successfully
before would ensure that no Git-aware process could intersect, however
antiviral or firewall tools still could? In this case, a number of
retries to write the file, with ascending delays between retries, would
make sense, at least I know that this strategy has solved similar issues
for SVNKit.

-Marc