From 4f4ca27fa034355ae325e89b4b9cfdbf83870ab2 Mon Sep 17 00:00:00 2001 From: Pat Thoyts Date: Fri, 6 Nov 2009 15:26:07 +0000 Subject: [PATCH] Added a time wrapper around updatecommits Signed-off-by: Pat Thoyts --- gitk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gitk b/gitk index db5ec54..d701d4b 100755 --- a/gitk +++ b/gitk @@ -445,6 +445,11 @@ proc getcommits {selid} { } proc updatecommits {} { + set t [time {updatecommits_real} 1] + puts "$t" +} + +proc updatecommits_real {} { global curview vcanopt vorigargs vfilelimit viewinstances global viewactive viewcomplete tclencoding global startmsecs showneartags showlocalchanges @@ -11339,6 +11344,7 @@ if {[info exists permviews]} { if {[tk windowingsystem] eq "win32"} { focus -force . + bind . {console show} } getcommits {} -- 2.23.0