summaryrefslogtreecommitdiffstats
path: root/git-p4.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2018-08-17 15:21:16 -0700
committerJunio C Hamano <gitster@pobox.com>2018-08-17 15:21:16 -0700
commitbfd91f4e89b5ab0f4238e1bfb7bd0e2a82adc225 (patch)
treec33af60aaec3db5022000bba743acc5c95314c23 /git-p4.html
parentf09b7cd0fc08d1df0fbd5c756672772049836b7a (diff)
downloadgit-htmldocs-bfd91f4e89b5ab0f4238e1bfb7bd0e2a82adc225.tar.gz
Autogenerated HTML docs for v2.18.0-748-gfa03c
Diffstat (limited to 'git-p4.html')
-rw-r--r--git-p4.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/git-p4.html b/git-p4.html
index 7df6e2a36..282cba965 100644
--- a/git-p4.html
+++ b/git-p4.html
@@ -1290,6 +1290,13 @@ options described above.</p></div>
</dl></div>
</div>
<div class="sect2">
+<h3 id="_hook_for_submit">Hook for submit</h3>
+<div class="paragraph"><p>The <code>p4-pre-submit</code> hook is executed if it exists and is executable.
+The hook takes no parameters and nothing from standard input. Exiting with
+non-zero status from this script prevents <code>git-p4 submit</code> from launching.</p></div>
+<div class="paragraph"><p>One usage scenario is to run unit tests in the hook.</p></div>
+</div>
+<div class="sect2">
<h3 id="_rebase_options">Rebase options</h3>
<div class="paragraph"><p>These options can be used to modify <em>git p4 rebase</em> behavior.</p></div>
<div class="dlist"><dl>
@@ -1881,7 +1888,7 @@ Each commit imported by <em>git p4</em> has a line at the end of the log
<div id="footer">
<div id="footer-text">
Last updated
- 2018-06-18 11:31:52 PDT
+ 2018-08-17 15:20:20 PDT
</div>
</div>
</body>