Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » History of selected resource broken?
History of selected resource broken? [message #784247] Fri, 27 January 2012 03:45 Go to next message
Dieter Van de Walle is currently offline Dieter Van de Walle
Messages: 5
Registered: January 2012
Junior Member
Hi, I just installed/upgraded EGit and JGit in Eclipse to version 1.2.0.201112221803-r .

Now if I select a file and right-click -> Team -> Show in History ...
I expect to see only the commits which affect this selected file.

However I see all commits on the whole repository.

I don't think this is right? Is this a bug?

This is damn annoying...
Re: History of selected resource broken? [message #784543 is a reply to message #784247] Fri, 27 January 2012 12:19 Go to previous messageGo to next message
Kevin Sawicki is currently offline Kevin Sawicki
Messages: 47
Registered: September 2011
Member
Are you running the Show In History action from the context menu in an open editor or from selecting a file from a view such as Package Explorer?
Re: History of selected resource broken? [message #784587 is a reply to message #784543] Fri, 27 January 2012 13:34 Go to previous messageGo to next message
R Shapiro is currently offline R Shapiro
Messages: 386
Registered: June 2011
Senior Member
Works ok in 1.3.x.

Make sure you haven't activated either of the following history toolbar items (if they exist in 1.2 -- I don't remember when these were introduced):

"Show all changes in project containing the selected resource" or
"Show all changes in parent folder of the selected resource"

Activating either of these will of course show many more commits, possibly all of them. That's what they're intended to do.

Re: History of selected resource broken? [message #784779 is a reply to message #784247] Fri, 27 January 2012 20:00 Go to previous messageGo to next message
Dieter Van de Walle is currently offline Dieter Van de Walle
Messages: 5
Registered: January 2012
Junior Member
I tried it both from the in-editor context menu (open file), or from the context menu of the selected item in the package explorer.

I also remember playing around with some buttons that should affect the scope of the showed history, but didn't seem to have any effect.
Will retry and confirm ASAP.
Re: History of selected resource broken? [message #786555 is a reply to message #784587] Mon, 30 January 2012 10:17 Go to previous message
Dieter Van de Walle is currently offline Dieter Van de Walle
Messages: 5
Registered: January 2012
Junior Member
Hmm, I think I just got the buttons wrong indeed.
Sorry about this! Keep up the great work! Couldn't live without this!
Previous Topic:Forcing merge to accept "new" version from repository
Next Topic:JGit: How to get branch from a commit id
Goto Forum:
  


Current Time: Mon Jul 28 22:35:35 EDT 2014

Powered by FUDForum. Page generated in 0.03095 seconds