git-gui: Refactor file state representations.
commitb67651129897738496a9dcd3c01129a42acd11db
authorShawn O. Pearce <spearce@spearce.org>
Sat, 18 Nov 2006 08:08:51 +0000 (18 03:08 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 18 Nov 2006 08:08:51 +0000 (18 03:08 -0500)
treecff45ea5bc4c42b1d562f70cea461bfe466f4484
parent32e0bcab59334ed8f1955c8afa830de22362c1ec
git-gui: Refactor file state representations.

It just felt wrong to me that I was using _ as part of the mode argument
to display_file to mean "don't care/use existing" and * as part of
the mode argument to mean "force to _".

So instead use ? to mean "don't care/use existing" and _ to mean
"force to _".  The code is a lot clearer this way and hopefully it
won't drive another developer insane, as it did me.

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