summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/blame.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index d8d27c9..0561fb4 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -370,6 +370,8 @@ method _history_menu {} {
if {[regexp {^[0-9a-f]{40}$} $c]} {
set t [string range $c 0 8]...
+ } elseif {$c eq {}} {
+ set t {Working Directory}
} else {
set t $c
}