Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » EGit seems to lock the index too aggressively (Windows)
EGit seems to lock the index too aggressively (Windows) [message #531502] Wed, 05 May 2010 09:15 Go to next message
Dave Syer is currently offline Dave Syer
Messages: 95
Registered: July 2009
Member
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 21:45 Go to previous message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 324
Registered: July 2009
Senior Member
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 21:45 Go to previous message
Robin Rosenberg is currently offline Robin Rosenberg
Messages: 324
Registered: July 2009
Senior Member
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: Sun Sep 21 10:27:55 GMT 2014

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

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