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

Re: Git rebase -i failing on cygwin -- git checkout-index says File Exists

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 20, 2009, 23:23 UTC
Message-ID
<alpine.DEB.1.00.0901210022290.15160@racer>
In-Reply-To
<4285cd450901201444g711626afm296bf372a100b999@mail.gmail.com>
Hi,
On Tue, 20 Jan 2009, Ludvig Strigeus wrote:
Show 10 quoted lines
> On Tue, Jan 20, 2009 at 11:20 PM, Ludvig Strigeus <strigeus@gmail.com> wrote:
> >
> > Maybe this command log is useful. I got this while aborting the 
> > rebase. Looks like some file creation race condition? Windows doesn't 
> > allow files to be deleted while they're open.
> 
> I believe I found the source of my problems with git rebase. I had an 
> editor open that wanted to reload the files when changed, and this 
> seemed to conflict with git's file manipulations. After closing the 
> editor, I don't get the mysterious errors anymore.

Yep, that's a Windows issue. Once you keep a file open in an editor, it cannot be overwritten/deleted.

Live with it, or upgrade to a real operating system :-)

Ciao, Dscho

Previous: Ludvig Strigeus
Message 6 of 6 in “Git rebase -i failing on cygwin -- git checkout-index says File Exists”
  1. Ludvig StrigeusJan 20, 2009
  2. Ludvig StrigeusJan 20, 2009
  3. Johannes SchindelinJan 20, 2009
  4. Ludvig StrigeusJan 20, 2009
  5. Ludvig StrigeusJan 20, 2009
  6. Johannes SchindelinJan 20, 2009

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.