diff options
author | Guido Günther <agx@sigxcpu.org> | 2018-08-08 10:29:40 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2018-08-08 11:27:45 +0200 |
commit | 6dda2da54efbb81e4e1593d57eb5f30c4ef1e6d8 (patch) | |
tree | 7815a6a9a4c789d217907c754e34d89b51a3abe3 /docs | |
parent | ea321fdfa1ec917038d09c14036ae9e27108735b (diff) |
pull: allow to set up branch tracking for missing branches
If the remote branch does not exist at all that's currently not fatal.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/manpages/gbp-pull.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/manpages/gbp-pull.xml b/docs/manpages/gbp-pull.xml index 462004ea..1662383d 100644 --- a/docs/manpages/gbp-pull.xml +++ b/docs/manpages/gbp-pull.xml @@ -29,6 +29,7 @@ <arg><option>--ignore-branch</option></arg> <arg><option>--debian-branch=</option><replaceable>branch_name</replaceable></arg> <arg><option>--upstream-branch=</option><replaceable>branch_name</replaceable></arg> + <arg><option>--track-missing</option></arg> <arg><option>--depth=</option><replaceable>depth</replaceable></arg> <arg><replaceable>repository</replaceable></arg> </cmdsynopsis> @@ -101,6 +102,20 @@ </listitem> </varlistentry> <varlistentry> + <term><option>--track-missing</option></term> + <listitem> + <para> + If a branch is missing in the local repository try to + fetch it from the remote side and (if it exists) fetch it and set up + branch tracking for it. This ensures that branches that are added at a + later point to the remote side (e.g. + <replaceable>pristine-tar</replaceable>) are picked up automatically. + Note that it's not an error for the branch to not exist on the remote + side. + </para> + </listitem> + </varlistentry> + <varlistentry> <term><option>--depth</option>=<replaceable>depth</replaceable> </term> <listitem> |