Code

git-gui: Refactor diff pane popup support for future improvements
authorShawn O. Pearce <spearce@spearce.org>
Thu, 23 Aug 2007 06:39:45 +0000 (02:39 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Thu, 23 Aug 2007 06:39:45 +0000 (02:39 -0400)
commit9f4119eb7651c7898f385198409be4ca051bc7ef
treed5e9a8b863105f577bb970928bcddd76a56ffee8
parent875b7c93686d16e083dcea8b544e4f204113d8de
git-gui: Refactor diff pane popup support for future improvements

The current popup_diff_menu procedure is somewhat messy as it has a
few duplications of the same logic in each of the different legs of
the routine.  We can simplify these by setting a few state variables
in the different legs.

No functional change, just a cleanup to make it easier to implement
future functional changes within this block.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh