Bug 364715 - Live update of annotation bar
Summary: Live update of annotation bar
Status: CONFIRMED
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: git (other bugs)
Version First Reported In: git master
Platform: Compiled Sources Linux
: HI wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-24 17:11 UTC by Alexander Potashev
Modified: 2016-06-27 11:29 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2016-06-24 17:11:34 UTC
Fast live update of annotation bar can be implemented as follows:
 1. Request git-annotate (through Git or libgit2),
 2. Load file content (OC = original content) at Git HEAD (through Git or libgit2),
 3. The above information is enough to
    - mark all the lines that do not match the OC as "Not Committed Yet",
    - show the annotation for all the other lines.

Reproducible: Always
Comment 1 Milian Wolff 2016-06-27 11:29:31 UTC
+10, I'd like to see that as well