Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: Clip the commit summaries in the blame history menu
[gitweb.git]
/
lib
/
blame.tcl
diff --git
a/lib/blame.tcl
b/lib/blame.tcl
index 2f7503ad6b099f0b0938aa44d5c94a2f63eddc40..85e9e0dc32e08361a755bea65811274cff984d39 100644
(file)
--- a/
lib/blame.tcl
+++ b/
lib/blame.tcl
@@
-390,6
+390,9
@@
method _history_menu {} {
}
if {![catch {set summary $header($c,summary)}]} {
append t " $summary"
+ if {[string length $t] > 70} {
+ set t [string range $t 0 66]...
+ }
}
$m add command -label $t -command [cb _goback $i $c $f]