summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-06-01 19:31:01 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-06-06 05:26:46 (GMT)
commitddc1fa8f883fdef4d7501f3f08474f8f75927533 (patch)
treea4e89f9df9a118cf595b97e6f49e2bc73f5718db /lib
parentb5a4122474486ccf785dfb78e939e040ac43067c (diff)
downloadgit-ddc1fa8f883fdef4d7501f3f08474f8f75927533.zip
git-ddc1fa8f883fdef4d7501f3f08474f8f75927533.tar.gz
git-ddc1fa8f883fdef4d7501f3f08474f8f75927533.tar.bz2
git-gui: Space the commit group continuation out in blame view
The | in the continued lines of the same commit group as not easily seen on the left edge; putting a single space in front of the pipe makes it slightly more visually appealing to me as I can follow the line down through the group to the next commit marker. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/blame.tcl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index ac45fb1..93693d0 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -301,7 +301,7 @@ method _read_blame {fd} {
if {![catch {set ncmit $line_commit([expr {$lno - 1}])}]} {
if {$ncmit eq $cmit} {
- set abbr |
+ set abbr { |}
}
}
@@ -324,7 +324,7 @@ method _read_blame {fd} {
$w_cgrp delete $lno.0 "$lno.0 lineend"
$w_cgrp insert $lno.0 $abbr
- set abbr |
+ set abbr { |}
$w_cgrp tag add g$cmit $lno.0 $lno_e
$w_line tag add g$cmit $lno.0 $lno_e
@@ -351,7 +351,7 @@ method _read_blame {fd} {
if {![catch {set ncmit $line_commit($lno)}]} {
if {$ncmit eq $cmit} {
$w_cgrp delete $lno.0 "$lno.0 lineend + 1c"
- $w_cgrp insert $lno.0 "|\n"
+ $w_cgrp insert $lno.0 " |\n"
}
}
} elseif {[regexp {^([a-z-]+) (.*)$} $line line key data]} {