git-gui: Add Reset to the Branch menu.
commitfd234dfdb7ee1955922ded27ed18df59259193d9
authorShawn O. Pearce <spearce@spearce.org>
Mon, 26 Feb 2007 16:22:10 +0000 (26 11:22 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 26 Feb 2007 16:22:10 +0000 (26 11:22 -0500)
tree107b144e7807daeea119251ee47203d8067d0fbf
parent9b28a8b9c2051bf85f71cdec85c142a0ab561f10
git-gui: Add Reset to the Branch menu.

cehteh on #git noticed that there was no way to perform a reset --hard
from within git-gui.  When I pointed out this was Merge->Abort Merge
cehteh said this is not very understandable, and that most users would
never guess to try that option unless they were actually in a merge.

So Branch->Reset is now also a way to cause a reset --hard from within
the UI.  Right now the confirmation dialog is the same as the one used
in Merge->Abort Merge.

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