gitk: Support showing the gathered inline diffs
authorThomas Rast <trast@inf.ethz.ch>
Sat, 16 Nov 2013 17:37:43 +0000 (18:37 +0100)
committerPaul Mackerras <paulus@samba.org>
Sun, 1 Dec 2013 22:24:20 +0000 (09:24 +1100)
commit9403bd02dd96a2f8b1a5802d86e1592d0dcf2358
tree679caaf957f8341d6be426d8dc5b71cc3393cb9e
parentb449eb2cb34fbdcb5cab7101a527985013818c9b
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 <trast@inf.ethz.ch>
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk