author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 21 Jan 2007 16:37:58 +0000 (11:37 -0500) | ||
committer | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 22 Jan 2007 03:47:53 +0000 (22:47 -0500) | ||
commit | 20a53c029efe15cacc26c0e6a0c980ff4bda6635 | |
tree | bd1ff7d330debdf14ea07ff1501561b9d81b19c9 | tree | snapshot |
parent | e21594a998d71eff39d80af878162abe94ef6e17 | commit | diff |
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>
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 | diff | blob | history |