Modify ↓
Ticket #2510 (closed defect: worksforme)
Opened 6 years ago
Last modified 6 years ago
Incorrect number of diffs in a file
| Reported by: | Matt Shin | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | version control/changeset view | Version: | 0.9.2 |
| Severity: | normal | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
An example is [2666]. The number of diffs on the header for sandbox/controller/trac/ticket/query.py is shown as 9, but I can count ~17 diffs in the display below. Similarly for sandbox/controller/trac/ticket/roadmap.py. The number of diffs on the header is shown as 7, but I can count ~15 diffs in the display below.
The number of diffs also appears to change if you change the "Show [x] lines around each change" option.
Attachments
Change History
comment:1 Changed 6 years ago by mgood
- Resolution set to worksforme
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.



The count of "diffs" is based on the bigger sections of the file separated by the "..."s in the line number column, not the individual red/green blocks.