git-gui: Move commit_prehook into commit_tree.
commit6858efbda324ab30f8857a06000933bcc55b11cc
authorShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 09:28:22 +0000 (21 04:28 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 21 Jan 2007 09:28:22 +0000 (21 04:28 -0500)
tree4db5967ee4e149a1b27ff486ec3e5748426fb730
parent6f48f3a6885e9dcc7d05a3a392723084dbf960d2
git-gui: Move commit_prehook into commit_tree.

The only reason the commit_prehook logic was broken out into its own
proc was so it could be invoked after the current set of files that
were already added to the commit could be refreshed if 'Allow Partially
Added Files' was set to false.  Now that we no longer even offer that
option to the user there is no reason to keep this code broken out
into its own procedure.

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