summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorCarlos Maddela <maddela@labyrinth.net.au>2015-07-03 03:27:50 +1000
committerGuido Günther <agx@sigxcpu.org>2015-07-10 09:58:18 +0200
commitda4d469012e74936bc930ba7e726d19380411baa (patch)
tree81f26d6284cde061f5beaf8428b0db7386a854b2 /docs
parentb334eb7a58b5b8bd305045eb79cc9a6b9dbaac69 (diff)
Add support for referencing existing local repositories when cloning repositories
On the off chance you forget to clone a git repo for a debian package with gbp-clone instead of git-clone, it is handy to be able to reference the local copy you already have when re-cloning the repo with gbp-clone, in the same way that git-clone allows you to with the --reference option. Closes: #790889 Signed-off-by: Guido Günther <agx@sigxcpu.org>
Diffstat (limited to 'docs')
-rw-r--r--docs/manpages/gbp-clone.sgml8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/manpages/gbp-clone.sgml b/docs/manpages/gbp-clone.sgml
index 20e61472..5b681584 100644
--- a/docs/manpages/gbp-clone.sgml
+++ b/docs/manpages/gbp-clone.sgml
@@ -27,6 +27,7 @@
<arg><option>--debian-branch=</option><replaceable>branch_name</replaceable></arg>
<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 choice="plain"><replaceable>remote_uri</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
@@ -77,6 +78,13 @@
</listitem>
</varlistentry>
<varlistentry>
+ <term><option>--reference</option>=<replaceable>repository</replaceable>
+ </term>
+ <listitem>
+ <para>Local repository to use as alternate instead of re-copying data from remote repository.</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
<term><option>--pristine-tar</option>
</term>
<listitem>