summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2010-11-10 16:13:51 +0000
committerClint Adams <clint@users.sourceforge.net>2010-11-10 16:13:51 +0000
commita5f7c8d5a499814eedad83a60dcf90460eeeb74a (patch)
tree65f72f231482f96e2d9c5ad0aea7d87479cd22b8
parentabfa420189ab94720a73a81e163fa70bc8cbc096 (diff)
downloadzsh-a5f7c8d5a499814eedad83a60dcf90460eeeb74a.tar.gz
zsh-a5f7c8d5a499814eedad83a60dcf90460eeeb74a.tar.xz
zsh-a5f7c8d5a499814eedad83a60dcf90460eeeb74a.zip
28401: git-buildpackage completion from Felipe Sateler.
-rw-r--r--ChangeLog9
-rw-r--r--Completion/Debian/Command/_git-buildpackage42
2 files changed, 49 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d66552a59..88418c297 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-10  Clint Adams  <clint@zsh.org>
+
+	* 28401: Completion/Debian/Command/_git-buildpackage:
+	git-buildpackage completion from Felipe Sateler.
+
 2010-11-07  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* Mikael: 28389: Completion/Unix/Type/_java_class: empty section
@@ -487,7 +492,7 @@
 	* 28052: Completion/Unix/Command/_cvs: remove duplicated completion of
 	the version subcommand.
 
-	* unposted: INSTALL, README: fix typos. 
+	* unposted: INSTALL, README: fix typos.
 
 	* 28051: Completion/Unix/Command/_elinks: update for version 0.12pre5.
 
@@ -13804,5 +13809,5 @@
 
 *****************************************************
 * This is used by the shell to define $ZSH_PATCHLEVEL
-* $Revision: 1.5118 $
+* $Revision: 1.5119 $
 *****************************************************
diff --git a/Completion/Debian/Command/_git-buildpackage b/Completion/Debian/Command/_git-buildpackage
new file mode 100644
index 000000000..784d53028
--- /dev/null
+++ b/Completion/Debian/Command/_git-buildpackage
@@ -0,0 +1,42 @@
+#compdef git-buildpackage
+
+_arguments \
+  '--version[show program version number and exit]' \
+  '--help[show help message and exit]' \
+  '--git-ignore-new[build with uncommited changes in the source tree]' \
+  '--git-no-ignore-new[negates --git-ignore-new]' \
+  '--git-verbose[verbose command execution]' \
+  '--git-tag[create a tag after a successful build]' \
+  '--git-tag-only[do not build, only tag and run the posttag hook]' \
+  '--git-retag[do not fail if the tag already exists]' \
+  '--git-sign-tags[sign tags]' \
+  '--git-no-sign-tags[negates --git-sign-tags]' \
+  '--git-keyid=-[GPG keyid to sign tags with]:GPG key:' \
+  '--git-debian-tag=-[format string for debian tags]:default is debian/%(version)s:' \
+  '--git-upstream-tag=-[format string for upstream tags]:default is upstream/%(version)s:' \
+  '--git-pristine-tar[use pristine-tar to create .orig.tar.gz]' \
+  '--git-no-pristine-tar[negates --git-pristine-tar]' \
+  '--git-force-create[force creation of orig.tar.gz]' \
+  '--git-no-create-orig[do not create orig.tar.gz]' \
+  '--git-tarball-dir=-[location to look for external tarballs]:tarball directory:_files -/' \
+  '--git-compression=-[compression type]:compression:(auto gzip bzip2 lzma xz)' \
+  '--git-compression-level=-[set compression level]:level:(1 2 3 4 5 6 7 8 9)' \
+  '--git-upstream-branch=-[upstream branch]::' \
+  '--git-debian-branch=-[branch the Debian package is being developed on]::' \
+  '--git-ignore-branch[build although debian-branch != current branch]' \
+  '--git-no-ignore-branch[negates --git-ignore-branch]' \
+  '--git-builder=-[command to build the Debian package]:command:' \
+  '--git-cleaner=-[command to clean the working copy]:command:' \
+  '--git-prebuild=-[command to run before a build]:command:' \
+  '--git-postbuild=-[hook run after a successful build]:command:' \
+  '--git-posttag=-[hook run after a successful tag operation]:command:' \
+  '--git-pbuilder[Invoke git-pbuilder for building]' \
+  '--git-no-pbuilder[negates --git-pbuilder]' \
+  '--git-dist=-[build for this distribution when using git-pbuilder]:distribution:' \
+  '--git-arch=-[build for this architecture when using git-pbuilder]:architecture:' \
+  '--git-export-dir=-[before building the package export the source into this directory]:directory:_files -/' \
+  '--git-export=-[export treeish object instead of HEAD]:treeish:' \
+  '--git-dont-purge[retain exported package build directory]' \
+  '--git-overlay[extract orig tarball when using export-dir option]' \
+  '--git-no-overlay[negates --git-overlay]' \
+  '*:Other options:_dpkg-buildpackage'