git-gui: Correct toggling of deleted file status.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 05:46:08 +0000 (00:46 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 05:46:08 +0000 (00:46 -0500)
commitdde5974ef109ed3aadfbac4d233899fb04d1c9ff
tree7639d5785f4592959750718c8f391ca7b2c9248a
parent74d18d2edfc84d35b20e1b4520e496aadc14c365
git-gui: Correct toggling of deleted file status.

There was a bug with the way we handled deleted file status.  A file
really shouldn't be in D_ state when it has been deleted, instead it
is really DD.  Therefore we should have toggled _D to DD, not D_,
thereby letting us toggle back to _D.

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