git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Sylvain
Message 7 of 7 in “Git commit error: fatal: Repository has been updated, but unable to write new_index file.”
  1. Kirill LikhodedovMar 27, 2012
  2. KevinMar 27, 2012
  3. Kirill LikhodedovMar 27, 2012
  4. Ben TebulinMar 27, 2012
  5. KevinMar 27, 2012
  6. SylvainMay 15, 2012
  7. Heiko VoigtMay 15, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.