Skip to content

Commit

Permalink
git-gui: Convert blame to the "class" way of doing things
Browse files Browse the repository at this point in the history
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 <spearce@spearce.org>
  • Loading branch information
Shawn O. Pearce committed May 9, 2007
1 parent 28bf928 commit 685caf9
Show file tree
Hide file tree
Showing 3 changed files with 123 additions and 133 deletions.
2 changes: 1 addition & 1 deletion git-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down
Loading

0 comments on commit 685caf9

Please sign in to comment.