From 3092623a8841a6aa9e12902436779c8dea80598c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Guido=20G=C3=BCnther?= Date: Sat, 26 Oct 2013 11:34:27 +0200 Subject: [PATCH] Add missing bash completion for gbp import-dscs Closes: #727749 --- debian/git-buildpackage.bash-completion | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion index 4062532..c012704 100644 --- a/debian/git-buildpackage.bash-completion +++ b/debian/git-buildpackage.bash-completion @@ -146,6 +146,18 @@ _gbp_import_dsc () } [ "${have:-}" ] && complete -F _gbp_import_dsc -o default git-import-dsc +have git-import-dscs && +_gbp_import_dscs () +{ + local options="$(_gbp_options git-import-dscs) $(_gbp_options git-import-dsc)" + local branch_opts="--debian-branch\= --upstream-branch\=" + local tag_opts="--debian-tag\= --upstream-tag\=" + local tristate_opts="--color\=" + + _gbp_comp "$options" "$branch_opts" "$tag_opts" "$tristate_opts" +} +[ "${have:-}" ] && complete -F _gbp_import_dscs -o default git-import-dscs + have gbp-pq && _gbp_pq () { -- 2.7.4