git-gui: Hide non-commit related commands when invoked as git-citool.
authorShawn O. Pearce <spearce@spearce.org>
Sun, 12 Nov 2006 21:20:36 +0000 (16:20 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Mon, 13 Nov 2006 05:10:37 +0000 (00:10 -0500)
commit4ccdab028263dfdeb0adf9764466bb3a43265395
treee1025d171411b9f071f3068128f8f1da2e7dd48d
parent7b64d0b7d62ec0eb6e8b37f0be2e62f2a719de16
git-gui: Hide non-commit related commands when invoked as git-citool.

If the user is invoking us as git-citool then they want to perform a
single commit and exit quickly.  Since we are about to be a very short
lived process we should do what we can to avoid spending CPU time setting
up menus which the user will never use, like the fetch/push/pull menus.

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