summaryrefslogtreecommitdiff
path: root/lib/blame.tcl
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-05-09 00:33:47 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-05-09 01:38:54 (GMT)
commitc74b6c66f00ce51b2c01d20fc5ef0e6429811124 (patch)
tree354c54001cae46387de2230af368b33c1b4b5154 /lib/blame.tcl
parent1f07c4e5cefec88d825045ade24eee71f6a2df47 (diff)
downloadgit-c74b6c66f00ce51b2c01d20fc5ef0e6429811124.zip
git-c74b6c66f00ce51b2c01d20fc5ef0e6429811124.tar.gz
git-c74b6c66f00ce51b2c01d20fc5ef0e6429811124.tar.bz2
git-gui: Convert browser, console to "class" format
Now that we have a slightly easier method of working with per-widget data we should make use of that technique in our browser and console meta-widgets, as both have a decent amount of information that they store on a per-widget basis and our current approach of handling it is difficult to follow. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/blame.tcl')
-rw-r--r--lib/blame.tcl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/blame.tcl b/lib/blame.tcl
index 6d894e5..dc7b22f 100644
--- a/lib/blame.tcl
+++ b/lib/blame.tcl
@@ -1,6 +1,8 @@
# git-gui blame viewer
# Copyright (C) 2006, 2007 Shawn Pearce
+set next_browser_id 0
+
proc show_blame {commit path} {
global next_browser_id blame_status blame_data