Code

git-gui: Show/hide "Sign Off" based on nocommitmsg option
authorShawn O. Pearce <spearce@spearce.org>
Fri, 26 Sep 2008 14:44:40 +0000 (07:44 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 26 Sep 2008 14:44:40 +0000 (07:44 -0700)
commited70e4d7db69a66d833d1efe56606213bab807e1
tree9d6373a5772d7d6bd7a064abde8fea0e1cc1d2fe
parent30ef1d812cc57d128e1d4d666de4e9bb5577e9e3
git-gui: Show/hide "Sign Off" based on nocommitmsg option

If citool --nocommit is invoked we hide the Sign Off features, as
the commit message area is not editable.  But we really want the
selection tied to the message area's editing ability.

Suggested-by: Alexander Gavrilov <angavrilov@gmail.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
git-gui.sh