From 685caf9af672811b45ebeaaa299b8f9fbd743d82 Mon Sep 17 00:00:00 2001 From: "Shawn O. Pearce" Date: Tue, 8 May 2007 21:33:14 -0400 Subject: git-gui: Convert blame to the "class" way of doing things Our blame viewer code has historically been a mess simply because the data for multiple viewers was all crammed into a single pair of Tcl arrays. This made the code hard to read and even harder to maintain. Now that we have a slightly better way of tracking the data for our "meta-widgets" we can make use of it here in the blame viewer to cleanup the code and make it easier to work with long term. Signed-off-by: Shawn O. Pearce --- git-gui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git-gui.sh') diff --git a/git-gui.sh b/git-gui.sh index 67f993aa4..568c814c6 100755 --- a/git-gui.sh +++ b/git-gui.sh @@ -1590,7 +1590,7 @@ blame { exit 1 } set current_branch [lindex $argv 0] - show_blame $current_branch [lindex $argv 1] + blame::new $current_branch [lindex $argv 1] return } citool - -- cgit v1.2.1