Code

git-gui: Teach the gui how to uninclude a file.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 05:29:55 +0000 (00:29 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 19 Nov 2006 05:29:55 +0000 (00:29 -0500)
commit1461c5f3d0634f6fad0013eba1ef1087a38cc748
tree1332812a28bedc9c6514ef6f34431345e32586f2
parentd7c0d7c86191925dcd0dfff353823f9f7e473de5
git-gui: Teach the gui how to uninclude a file.

Sometimes the user may want to keep their working directory file to be
the same content but they don't want it to be part of the current commit
anymore.  In this case we need to undo any changes made to the index
for that file (by reloading the info from HEAD or removing the file
from the index) but leave the working directory alone.

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