Commit 9403bd0
gitk: Support showing the gathered inline diffs
The previous commit split the diffs into a separate field. Now we
actually want to show them.
To that end we use the stored diff, and
- process it once to build a fake "tree diff", i.e., a list of all
changed files;
- feed it through parseblobdiffline to actually format it into the
$ctext field, like the existing diff machinery would.
Signed-off-by: Thomas Rast <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>1 parent b449eb2 commit 9403bd0
1 file changed
+38
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| 164 | + | |
163 | 165 | | |
164 | 166 | | |
165 | 167 | | |
| |||
7131 | 7133 | | |
7132 | 7134 | | |
7133 | 7135 | | |
| 7136 | + | |
7134 | 7137 | | |
7135 | 7138 | | |
7136 | 7139 | | |
| |||
7272 | 7275 | | |
7273 | 7276 | | |
7274 | 7277 | | |
| 7278 | + | |
| 7279 | + | |
7275 | 7280 | | |
7276 | 7281 | | |
7277 | 7282 | | |
| |||
7608 | 7613 | | |
7609 | 7614 | | |
7610 | 7615 | | |
| 7616 | + | |
| 7617 | + | |
| 7618 | + | |
| 7619 | + | |
| 7620 | + | |
| 7621 | + | |
| 7622 | + | |
| 7623 | + | |
| 7624 | + | |
| 7625 | + | |
| 7626 | + | |
| 7627 | + | |
| 7628 | + | |
| 7629 | + | |
| 7630 | + | |
| 7631 | + | |
| 7632 | + | |
| 7633 | + | |
| 7634 | + | |
| 7635 | + | |
| 7636 | + | |
| 7637 | + | |
| 7638 | + | |
| 7639 | + | |
| 7640 | + | |
| 7641 | + | |
| 7642 | + | |
| 7643 | + | |
| 7644 | + | |
| 7645 | + | |
| 7646 | + | |
| 7647 | + | |
| 7648 | + | |
7611 | 7649 | | |
7612 | 7650 | | |
7613 | 7651 | | |
| |||
0 commit comments