[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 255599] New: Git: Incorrect matching between annotation bar and
From:       Mihai <mihai.stanescu () gmail ! com>
Date:       2010-10-29 16:47:34
Message-ID: bug-255599-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=255599

           Summary: Git: Incorrect matching between annotation bar and
                    source code
           Product: kdevelop
           Version: 4.1.0
          Platform: Unlisted Binaries
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: mihai.stanescu@gmail.com


Version:           4.1.0 (using KDE 4.4.5) 
OS:                Linux


Annotation bar displayes commit one line below the actualy modified line.

From what i see problems happens at the beginning of the file

This is git blame output. Some information have been removed to preserve
confidentiality

d6f0d1ae (E     2008-11-19 10:23:52 +0000    1) /**
d6f0d1ae (E     2008-11-19 10:23:52 +0000    2)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000    3)  * 
52304695 (M     2009-02-11 09:23:16 +0000    4)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000    5)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000    6)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000    7)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000    8)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000    9)  *
d6f0d1ae (E     2008-11-19 10:23:52 +0000   10)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000   11)  *
d6f0d1ae (E     2008-11-19 10:23:52 +0000   12)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000   13)  * 
d6f0d1ae (E     2008-11-19 10:23:52 +0000   14)  *
d6f0d1ae (E     2008-11-19 10:23:52 +0000   15)  *
d6f0d1ae (E     2008-11-19 10:23:52 +0000   16)  */
4c46ba4e (M     2009-03-04 09:01:49 +0000   17) #include
4c46ba4e (M     2009-03-04 09:01:49 +0000   18) 
d6f0d1ae (E     2008-11-19 10:23:52 +0000   19) #include "./


Annotation bar displays <d6f0d1ae> as commit for #include bar 

Correct should be 4c46ba4e and will keep this shift until the end


Reproducible: Didn't try

Steps to Reproduce:
1. Have some git enabled project
2. open a source.cpp file
3. enable annotation bar in kdevelop
4. git blame source.cpp 
5. Notice how annotation bar doesnt look the same as git blame





OS: Linux (x86_64) release 2.6.29-gentoo-r5
Compiler: x86_64-pc-linux-gnu-gcc

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic