Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » EGit seems to lock the index too aggressively (Windows)
EGit seems to lock the index too aggressively (Windows) [message #531502] Wed, 05 May 2010 05:15 Go to next message
Eclipse UserFriend
I have a lot of issues using git on Windows because I get a load of
"error: Unable to write index" on the command line. I found an older
thread here
( http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.egit/m sg00126.html)
that fingered EGit, which seems plausible, since it can magically detect
index changes. I actually had to close down Eclipse just to do a commit
today - surely that can't be right?

Can I put Egit in a less aggressive mode? Set a flag to enable index
checking only on demand (like an F5 or something)?
Re: EGit seems to lock the index too aggressively (Windows) [message #532310 is a reply to message #531502] Fri, 07 May 2010 17:45 Go to previous message
Eclipse UserFriend
Dave Syer wrote:

> I have a lot of issues using git on Windows because I get a load of
> "error: Unable to write index" on the command line. I found an older
> thread here
> ( http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.egit/m sg00126.html)
> that fingered EGit, which seems plausible, since it can magically detect
> index changes. I actually had to close down Eclipse just to do a commit
> today - surely that can't be right?

No the locking (stat and/or open for read) required for this is very short.
There is a bug open for this.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=300084

> Can I put Egit in a less aggressive mode? Set a flag to enable index
> checking only on demand (like an F5 or something)?

No, but we should probably have such an option.

-- robin
Re: EGit seems to lock the index too aggressively (Windows) [message #580082 is a reply to message #531502] Fri, 07 May 2010 17:45 Go to previous message
Eclipse UserFriend
Dave Syer wrote:

> I have a lot of issues using git on Windows because I get a load of
> "error: Unable to write index" on the command line. I found an older
> thread here
> ( http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.egit/m sg00126.html)
> that fingered EGit, which seems plausible, since it can magically detect
> index changes. I actually had to close down Eclipse just to do a commit
> today - surely that can't be right?

No the locking (stat and/or open for read) required for this is very short.
There is a bug open for this.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=300084

> Can I put Egit in a less aggressive mode? Set a flag to enable index
> checking only on demand (like an F5 or something)?

No, but we should probably have such an option.

-- robin
Previous Topic:EGit seems to lock the index too aggressively (Windows)
Next Topic:channel broken
Goto Forum:
  


Current Time: Mon Jul 07 15:00:01 EDT 2025

Powered by FUDForum. Page generated in 0.68804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top