Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » EGit modifies index for certain files when project is refreshed
EGit modifies index for certain files when project is refreshed [message #1747086] Wed, 09 November 2016 10:03 Go to next message
Kostas Avgeropoulos is currently offline Kostas AvgeropoulosFriend
Messages: 2
Registered: October 2012
Junior Member
For some reason I cannot so far figure out, when I refresh a project, some of its files are marked as deleted in the index.

Do we know of any case where EGit will modify the index without the user taking any action (other than just refreshing the project)?

a "git reset" resets the index normally of course.
Re: EGit modifies index for certain files when project is refreshed [message #1749107 is a reply to message #1747086] Thu, 01 December 2016 22:05 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 922
Registered: July 2009
Senior Member
no idea

You may try to debug this problem, use the automatic developer setup [1] to install Eclipse for EGit/JGit development
and set a breakpoint in IndexDiffCache.notifyListeners(). Then follow [2] to start EGit and Eclipse in the debugger
and try to reproduce the problem.

[1] https://wiki.eclipse.org/EGit/Contributor_Guide#Automated_Developer_Setup
[2] https://wiki.eclipse.org/EGit/Contributor_Guide#Running_EGit_from_Eclipse
Previous Topic:Commits pushed to bitbucket have wrong userid
Next Topic:stash in conflict doesn't return untracked file
Goto Forum:
  


Current Time: Sat May 27 17:38:25 GMT 2017

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

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