diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2012-01-12 15:25:10 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-01-17 19:18:18 +0100 |
commit | 0c47432db776f37ceda027bf9901022df37e545d (patch) | |
tree | b184a6ebca8062bb4efd48ce0a716499a457bf51 /docs | |
parent | 655050770a40607702ea478b9317634f181c06b7 (diff) | |
download | git-buildpackage-0c47432db776f37ceda027bf9901022df37e545d.tar.gz git-buildpackage-0c47432db776f37ceda027bf9901022df37e545d.tar.bz2 git-buildpackage-0c47432db776f37ceda027bf9901022df37e545d.zip |
Add git-depth option to gbp-clone and gbp-pull
Allows creating and deepening shallow clones. This is sometimes
useful for e.g. saving bandwidth when cloning.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manpages/gbp-clone.sgml | 8 | ||||
-rw-r--r-- | docs/manpages/gbp-pull.sgml | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/manpages/gbp-clone.sgml b/docs/manpages/gbp-clone.sgml index 526f3f71..f4be9768 100644 --- a/docs/manpages/gbp-clone.sgml +++ b/docs/manpages/gbp-clone.sgml @@ -26,6 +26,7 @@ <arg><option>--[no-]pristine-tar</option></arg> <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 choice="plain"><replaceable>remote_uri</replaceable></arg> </cmdsynopsis> </refsynopsisdiv> @@ -67,6 +68,13 @@ </listitem> </varlistentry> <varlistentry> + <term><option>--depth</option>=<replaceable>depth</replaceable> + </term> + <listitem> + <para>Git history depth, for creating shallow git clones.</para> + </listitem> + </varlistentry> + <varlistentry> <term><option>--verbose</option></term> <term><option>-v</option></term> <listitem> diff --git a/docs/manpages/gbp-pull.sgml b/docs/manpages/gbp-pull.sgml index d1a9b23c..b8dcde41 100644 --- a/docs/manpages/gbp-pull.sgml +++ b/docs/manpages/gbp-pull.sgml @@ -27,6 +27,7 @@ <arg><option>--[no-]pristine-tar</option></arg> <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> </cmdsynopsis> </refsynopsisdiv> <refsect1> @@ -74,6 +75,13 @@ </listitem> </varlistentry> <varlistentry> + <term><option>--depth</option>=<replaceable>depth</replaceable> + </term> + <listitem> + <para>Git history depth, for deepening shallow git clones.</para> + </listitem> + </varlistentry> + <varlistentry> <term><option>--verbose</option></term> <term><option>-v</option></term> <listitem> |