Code

git-gui: Added revert changes command.
authorShawn O. Pearce <spearce@spearce.org>
Fri, 24 Nov 2006 02:40:45 +0000 (21:40 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 24 Nov 2006 02:40:45 +0000 (21:40 -0500)
commite734817db0af028f2aea356b44c74b7ac51023cd
tree8d5fc9b6059b3f082bc14873a1ec24d1474f374b
parent4c2035d55e0a5c013677a8e83193e37d51000793
git-gui: Added revert changes command.

Users sometimes need to be able to throw away locally modified files
in order to go back to the last committed version of that file.  To
perform a revert the user must first uninclude each file from the new
commit as the working file must at least partially match the index,
and we use git-checkout-index to update the working directory.

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