Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349007 - "Show Blame Annotations" displays rev info at wrong position
Summary: "Show Blame Annotations" displays rev info at wrong position
Status: RESOLVED WORKSFORME
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-10 06:13 EDT by Tomasz Zarna CLA
Modified: 2011-06-29 07:41 EDT (History)
1 user (show)

See Also:


Attachments
screenshot: egit blame for described case (179.77 KB, image/png)
2011-06-29 07:41 EDT, Matthias Sohn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2011-06-10 06:13:26 EDT
Steps:
1. Open org.eclipse.orion.server.git.servlets.GitCloneHandlerV1[1] from org.eclipse.orion.server
2. Show Blame Annot's for the file
3. Go to line 262
=> IS: marked as being part of 93cbbf70dd09e7365897964dd3ae1c2af1566b96
=> SHOULD BE: changed by 91e8db2c, double checked with "git blame" in the command line

I'm also seeing some blank annot's, eg line 23, but this seems to be a separate issue.

[1] 6f8d41da8ce06159350a64091334de63ef6fe3d7
Comment 1 Tomasz Zarna CLA 2011-06-10 06:14:19 EDT
(In reply to comment #0)
> 1. Open org.eclipse.orion.server.git.servlets.GitCloneHandlerV1[1] from
> org.eclipse.orion.server

http://wiki.eclipse.org/Orion/Getting_the_source
Comment 2 Matthias Sohn CLA 2011-06-29 07:40:42 EDT
Tried to reproduce this with EGit / JGit 1.0.0.201106090707-r and it seems to work properly. See attached screenshot.

Please file another bug for the non-annotated line.
Comment 3 Matthias Sohn CLA 2011-06-29 07:41:14 EDT
Created attachment 198819 [details]
screenshot: egit blame for described case
Comment 4 Matthias Sohn CLA 2011-06-29 07:41:46 EDT
Works for me using 1.0.0.201106090707-r