]> asedeno.scripts.mit.edu Git - git.git/commit
git-gui: Fix bug in unmerged file display.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 18:18:11 +0000 (13:18 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 22 Jan 2007 03:47:54 +0000 (22:47 -0500)
commit079d0d5057dd66916c8d23802d48b19235fedf09
tree71bf16585428a9114ca99eef212c61894faeb41e
parentfec4a78590229aab648e37195a071e3aae02bfe0
git-gui: Fix bug in unmerged file display.

We were not correctly setting the old state of an index display to
_ if the index was previously unmerged.   This caused us to try and
update a U->M when resolving a merge conflict but we were unable to
do so as the icon did not exist in the index viewer.  Tk did not
like being asked to modify an icon which was undefined.

Now we always transform both the old and the new states for both
sides (index and working directory) prior to updating the UI.

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