Community
Participate
Working Groups
"Show Annotations" should also work on history items. Currently, I can show blame annotations on the workspace version of the file, but I can't do this on an older version of the file. This was supported by the Eclipse CVS client.
This bug makes it impossible to see past commits that changed the whole file (e.g. formatting changes or the SWT commit 093c579a4ffd9551acb901bba9617e7aa776989d that restored accidentally deleted files).
Proposed fix pushed to: http://egit.eclipse.org/r/#change,4622
Commit 8a524f1f0802b045f8ad84b01df710002ed5fb76 adds the feature to the file table in the history view as well as the to file section of the commit editor. What's still missing is a menu entry to the context menu in the editor of historic versions. Normally I first open an editor and then I decide to open the blame annotations. Unfortunately there is no Team menu on editors which do not have an IFile as input.
(In reply to comment #3) > Commit 8a524f1f0802b045f8ad84b01df710002ed5fb76 adds the feature to the file > table in the history view as well as the to file section of the commit editor. Thanks heaps, that's an important feature. Unfortunately, without this bug report I didn't ever find how to invoke this command. I was actually looking for something in the context menu of a commit while the history is narrowed down to the file I'm interested in. Could that please be added, too? In that mode we already have several "Open" commands, so it seems the context menu knows that a single file is selected.
> I was actually looking for something in the context menu of a commit while the > history is narrowed down to the file I'm interested in. Could that please be > added, too? In that mode we already have several "Open" commands, so it seems > the context menu knows that a single file is selected. +1
Just to clarify, which menu are you referring to where you want the action to be available? The context menu of the Files section in the commit editor? Or somewhere else?
(In reply to comment #6) > The context menu of the Files section in the commit editor? Or somewhere else? Nope, I already see "Show Annotations" there (as well as in the files section of the History view). Stefan (comment 3) wants it in the context menu of an editor of an old revision, e.g. an editor opened via "Open in Editor" in the Files section. Stephan (comment 4) and I want it in the context menu of a commit in the main table of the History view. If the History view's input is a single file, that context menu already contains "Compare with Working Tree", "Open", and "Open in Text Editor". If a commit affects a large number of files, it's too much work to find the input file in the files section of the History view.
Great, thanks for the clarification.
Proposed fix to add 'Show Annotations' menu to history table when scoped to single file pushed here: https://git.eclipse.org/r/#/c/5110/
merged as f1e40cf062f90590862543f47dd71d76627d59ce