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
Kevin <compufreak@gmail.com>
Date
Mar 27, 2012, 12:20 UTC
Message-ID
<20120327122045.GA7421@ikke-laptop.buyways.nl>
In-Reply-To
<jks9k9$c35$1@dough.gmane.org>

One hint that this is a windows issue is that all the reporters seem to use msysgit.

(added msysgit mailinglist as cc)
On Tue, Mar 27, 2012 at 01:51:48PM +0200, Ben Tebulin wrote:
Show 26 quoted lines
> >fatal: Repository has been updated, but unable to write new_index
> >file. Check that disk is not full or quota is not exceeded, and then
> >"git reset HEAD" to recover.
> >
> >Here is the command which IDE executes to make a commit:
> >
> ># git commit --only -F<message file>  -- <several files chosen to
> >commit>
> 
> I can confirm this issue. I saw this error more than once. And I'm
> working with cygwin Git on the command line - but having an IDE (VS
> in this case) opened in parallel.
> 
> I don't think the issue is about two parallel Git operations in
> parallel. I only started one. But more that some file of the working
> copy is in access. And Git seems to be much more sensible about
> those than i.e. subversion. (No file was "locked")
> 
> Sorry - but I cannot tell anything more except that I've experienced
> this issue too. Maybe this is a  windows specific issue? As a
> windows user I had some of them...
> 
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous: Ben TebulinNext: Sylvain
Message 5 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.