From 03f3d75d43458978ecc375f7e16cfc8f35b5ae99 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Mon, 10 Jan 2011 16:09:05 +0100 Subject: Make gbp-create-remote-repo a first class citizen Add manpage, move into path, add bash completion --- debian/git-buildpackage.bash-completion | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'debian/git-buildpackage.bash-completion') diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion index 1b85504..fda633e 100644 --- a/debian/git-buildpackage.bash-completion +++ b/debian/git-buildpackage.bash-completion @@ -155,3 +155,14 @@ _gbp_clone () _gbp_comp "$options" "$branch_opts" "$tag_opts" "$tristate_opts" } [ "${have:-}" ] && complete -F _gbp_clone -o default gbp-clone + +have gbp-create-remote-repo && +_gbp_create_remote_repo () +{ + local options=$(_gbp_options gbp-create-remote-repo) + local branch_opts="--debian-branch\= --upstream-branch\=" + local tristate_opts="--color\=" + + _gbp_comp "$options" "$branch_opts" "" "$tristate_opts" +} +[ "${have:-}" ] && complete -F _gbp_create_remote_repo -o default gbp-create-remote-repo -- cgit v1.2.3