Skip to main content

[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:
Cannot commit write to C:\Users\mike\repo\.git\config

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.


Back to the top