2025-04-04
| ||
13:48 | • Wiki page "FIXMEs" artifact: 877e644109 user: stephan | |
2022-06-09
| ||
00:23 | Added missing handling of (--format debug) in f-vdiff. Added a reference to ticket [746ebbe86c20b5c0f96] regarding the issue of adjacent diff chunks getting a superfluous separator. check-in: 9cee12cf17 user: stephan tags: trunk | |
00:09 | • New ticket [746ebbe86c] Diff builder: chunk separators between directly-adjacent chunks. artifact: 2562084577 user: stephan | |
Ticket Hash: | 746ebbe86c20b5c0f96cdadd19abd8284770de16 | ||
Title: | Diff builder: chunk separators between directly-adjacent chunks | ||
Status: | Open | Type: | Request_for_Enhancement |
Severity: | Cosmetic | Priority: | |
Subsystem: | Resolution: | ||
Last Modified: |
2022-06-09 00:09:48 2.92 years ago |
Created: |
2022-06-09 00:09:48 2.92 years ago |
Version Found In: |
User Comments: | ||||
stephan added on 2022-06-09 00:09:48:
What follows is copy/pasted directly from code comments in src/diff.c, reformatted slightly to account for markdown/ticket system quirks: An annoying cosmetic bug: the libf diff builders will sometimes render two directly-adjecent chunks with a separator, e.g.:
Note now the chunks before/after the second It would seem that the only workaround for that, within the current API, is to always look ahead one chunk before sending the previous chunk to the diff builder. That would allow the diff algo to retroactively adjust the chunk line numbers/counts before passing them on to the builder for rendering. It would, however, add a significant amount of complexity to that algo. |