Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 09:15 Go to next message
Dave Syer is currently offline Dave SyerFriend
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 RosenbergFriend
Messages: 332
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 RosenbergFriend
Messages: 332
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: Fri Apr 26 06:15:29 GMT 2024

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

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

Back to the top