aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-01-01 18:37:42 +0100
committerGuido Günther <agx@sigxcpu.org>2017-01-01 18:37:42 +0100
commit661444bc3e00c671488b4af482e015a152ac3538 (patch)
treefac0e6a83be2424aea119572ec2f0b2d6e48784d
parent09af70b6f4d8e7cae783572accc0e4e5a44f65a4 (diff)
Update docs regarding --download
and drop it from completions
-rw-r--r--debian/git-buildpackage.zsh-completion2
-rw-r--r--docs/chapters/special.sgml5
2 files changed, 2 insertions, 5 deletions
diff --git a/debian/git-buildpackage.zsh-completion b/debian/git-buildpackage.zsh-completion
index 7f0b50d3..90ae348b 100644
--- a/debian/git-buildpackage.zsh-completion
+++ b/debian/git-buildpackage.zsh-completion
@@ -170,7 +170,6 @@ _gbp-import-dsc() {
__gbp_tag_sign_options
_arguments \
'--filter=-[Filter out files]' \
- '--download=-[Download the source package]' \
'--allow-unauthenticated[Skip signature verification on downloads]' \
'--allow-same-version[Import a package with the same debian version]' \
'--author-is-committer[Use the author identity as committer identity]' \
@@ -415,7 +414,6 @@ _gbp-import-dsc() {
__gbp_tag_sign_options
_arguments \
'--filter=-[Filter out files]' \
- '--download=-[Download the source package]' \
'--allow-unauthenticated[Skip signature verification on downloads]' \
'--allow-same-version[Import a package with the same debian version]' \
'--author-is-committer[Use the author identity as committer identity]' \
diff --git a/docs/chapters/special.sgml b/docs/chapters/special.sgml
index 37efbfb3..9657b72e 100644
--- a/docs/chapters/special.sgml
+++ b/docs/chapters/special.sgml
@@ -142,7 +142,7 @@ EOF
Whenever you need to work on an arbitrary &debian; package, you can check it
right into &git; with one command:
<programlisting>
- &gbp-import-dsc --download <filename>package</filename>
+ &gbp-import-dsc apt://<filename>package</filename>
cd <filename>package</filename>
&gitcmd; branch debian
</programlisting>
@@ -160,12 +160,11 @@ EOF
&gitcmd; diff debian --
</programlisting>
<para>
-
to get a nice patch that can be submitted to the &debian; BTS. You can also
fetch the source package from a URL:
<programlisting>
- &gbp-import-dsc --download <filename>http://mentors.debian.net/debian/pool/main/i/ipsec-tools/ipsec-tools_0.7.3-9.dsc</filename>
+ &gbp-import-dsc <filename>http://mentors.debian.net/debian/pool/main/i/ipsec-tools/ipsec-tools_0.7.3-9.dsc</filename>
</programlisting>
The import works incrementally; you can import new versions on top of