aboutsummaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2016-07-08 15:28:21 +0200
committerGuido Günther <agx@sigxcpu.org>2016-07-08 15:33:18 +0200
commit95c8c53a8f4d2f8c1df7c94526141fbfdcc0340a (patch)
treee2467d76a995e55221eb0db606691c2a7c7963af /docs
parent0ec3a4023afd77a658bbe47a014c22928c0543ec (diff)
clone: add postclone hook
Closes: #812816, #812815
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages/gbp-clone.sgml27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/manpages/gbp-clone.sgml b/docs/manpages/gbp-clone.sgml
index 4ef7f24e..7b5a8ba1 100644
--- a/docs/manpages/gbp-clone.sgml
+++ b/docs/manpages/gbp-clone.sgml
@@ -28,6 +28,8 @@
<arg><option>--upstream-branch=</option><replaceable>branch_name</replaceable></arg>
<arg><option>--depth=</option><replaceable>depth</replaceable></arg>
<arg><option>--reference=</option><replaceable>repository</replaceable></arg>
+ <arg><option>--git-postclone=</option><replaceable>COMMAND</replaceable></arg>
+ <arg><option>--git-[no-]hooks</option></arg>
<arg choice="plain"><replaceable>remote_uri</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -92,6 +94,31 @@
</listitem>
</varlistentry>
</variablelist>
+ <variablelist>
+ <varlistentry>
+ <term><option>--git-[no-]hooks</option></term>
+ <listitem>
+ <para>
+ Enable running hooks.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ <variablelist>
+ <varlistentry>
+ <term><option>--git-postclone=</option><replaceable>COMMAND</replaceable></term>
+ <listitem>
+ <para>
+ Execute <replaceable>COMMAND</replaceable> after cloning the source
+ from the remote.
+ </para>
+ <para>
+ Exported environment variables are: <envar>GBP_GIT_DIR</envar> (the
+ repository the package is being built from).
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</refsect1>
<refsect1>
<title>EXAMPLES</title>