aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2014-01-23 22:06:22 +1100
committerPaul Mackerras <paulus@samba.org>2014-01-23 22:06:22 +1100
commit76d64ca6b5d33df59222e44194efbf92469815dc (patch)
tree689652f3448b01ac71dd103a17560e0517902a21
parent8f86339858c1325645f8eaf6950dfd9d74cc9897 (diff)
downloadgit-76d64ca6b5d33df59222e44194efbf92469815dc.tar.gz
git-76d64ca6b5d33df59222e44194efbf92469815dc.tar.xz
gitk: Indent word-wrapped lines in commit display header
In the cases where the lines starting with Precedes:, Follows: and Branches: in the commit display are long enough to be word-wrapped, this adds a 1cm margin on the left of the wrapped lines, to make the display more readable. Suggested by Stephen Rothwell. Signed-off-by: Paul Mackerras <paulus@samba.org>
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index 94ea5ff91..90764e894 100755
--- a/gitk
+++ b/gitk
@@ -2429,7 +2429,7 @@ proc makewindow {} {
$ctext tag conf msep -font textfontbold
$ctext tag conf found -back $foundbgcolor
$ctext tag conf currentsearchhit -back $currentsearchhitbgcolor
- $ctext tag conf wwrap -wrap word
+ $ctext tag conf wwrap -wrap word -lmargin2 1c
$ctext tag conf bold -font textfontbold
.pwbottom add .bleft