Re: Git commit error: fatal: Repository has been updated, but unable to write new_index file.
- From
Heiko Voigt <hvoigt@hvoigt.net>
- Date
- May 15, 2012, 21:36 UTC
- Message-ID
- <20120515213648.GA66983@book.hvoigt.net>
- In-Reply-To
- <loom.20120515T082415-300@post.gmane.org>
Hi,
On Tue, May 15, 2012 at 06:34:31AM +0000, Sylvain wrote:
Show 10 quoted lines
> I'm also experiencing this issue (msysGit 1.7.10-preview20120409 + TortoiseGit > 1.7.9.0 + Intellij IDEA 11). > > Don't you think it could be related to parallel usage of msysGit + TortoiseGit? > > I.e. after committing with msysGit (through IDEA or not), TortoiseGit would > launch a background operation (such as updating index) that would mess with > msysGit? > > Just a guess, I don't know internal behaviour of msysGit/TortoiseGit.
This is the wrong list for msysgit please see
http://groups.google.com/group/msysgit
My guess is that some other program (your virus scanner or IDE ?) is blocking writing on the index file. In msysgits git gui and the command line we have a retry fallback that asks you whether you want to try again. I do not know TortoiseGit I guess that they do not have such thing and just fail.
Cheers Heiko