git-gui: Hide commit related UI during citool --nocommit
commit1e02b32e7212d4f5f596a7161dc7c5cb76ac965d
authorShawn O. Pearce <spearce@spearce.org>
Wed, 24 Sep 2008 16:48:20 +0000 (24 09:48 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 24 Sep 2008 16:53:35 +0000 (24 09:53 -0700)
tree66d4589dd17dbaf968bc36c8683175847cd9ff3a
parent1e65c6225dea2e15df81f6c91927cb0b8fab443c
git-gui: Hide commit related UI during citool --nocommit

If the user started git-gui as "git citool --nocommit" then they
don't need the new commit / amend commit radio buttons, or the sign
off button in the UI.  Rather than use up space with options the
user cannot activate they are simply not installed into the UI.

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