Code

git-gui: Refactor current_diff -> current_diff_path.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 16:37:58 +0000 (11:37 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 22 Jan 2007 03:47:53 +0000 (22:47 -0500)
commit20a53c029efe15cacc26c0e6a0c980ff4bda6635
treebd1ff7d330debdf14ea07ff1501561b9d81b19c9
parente21594a998d71eff39d80af878162abe94ef6e17
git-gui: Refactor current_diff -> current_diff_path.

We now need to keep track of which side the current diff is for,
HEAD<->index or index<->working directory.  Consequently we need
an additional "current diff" variable to tell us which side the
diff is for.  Since this is really only necessary in reshow_diff
I'm going to declare a new global, rather than try to shove both
the path and the side into current_diff.

To keep things clear later on, I'm renaming current_diff to
current_diff_path.  There is no functionality change in this
commit.

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