git-gui: add configurable tab size to the diff view
commita43c5f51a4b1e56b746295f19daa240283092005
authorMichael Lutz <michi@icosahedron.de>
Sun, 12 Feb 2012 15:55:17 +0000 (12 16:55 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 6 Oct 2014 09:34:52 +0000 (6 10:34 +0100)
tree663a1a731104b788dac1f7966757b16be85f2551
parenta3b3ae35d4f175e6444533c96933b5868e499b09
git-gui: add configurable tab size to the diff view

For Tk 8.5 the "wordprocessor" mode allows us to get a bit fancy for merge
diffs and intend the tabs by one to compensate for the additional diff
marker at the line start.

The code is heavily based on how gitk handles tabs.

Signed-off-by: Michael Lutz <michi@icosahedron.de>
Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
git-gui.sh
lib/diff.tcl
lib/option.tcl