Overview
Artifact ID: | 2507d4afc37a87fef926b85d0565f74ad19df73d |
---|---|
Ticket: | f0f9aff371f26b4eebb1ded3cabc70c956c6cae7
'annotate' misses changes. |
User & Date: | viriketo 2011-05-05 22:00:38 |
Changes
- Appended to comment:
<hr /><i>viriketo added on 2011-05-05 22:00:38 UTC:</i><br /> From what I see in [/artifact/d9bd197c10a97fb9e7f3f8d88be457738b3cc7b1?ln=688|diff.c:688] and [/artifact/d9bd197c10a97fb9e7f3f8d88be457738b3cc7b1?ln=771|diff.c:771], the annotate procedure goes by looking at older and older commits, and when parts of the lines are equal, the older commit is taken. I think that this makes the 'annotate' show, sometimes, "the earliest commit with that change", instead of "the last commit with that change". Other VCS show in 'annotate' the last change in every given line. This is the behaviour I'd prefer, but I barely know anything about diff algorithms, so I hope someone takes the job of implementing this usual kind of annotate.