This is an automated email from the git hooks/post-receive script. jamessan pushed a commit to branch master in repository devscripts.
commit 64e6a0a491045102f35e78daf1834e3687f8dcf4 Author: James McCoy <james...@debian.org> Date: Thu Sep 7 23:34:04 2017 -0400 debsign: Use gpg --with-colons in bash completion Signed-off-by: James McCoy <james...@debian.org> --- debian/changelog | 3 +++ scripts/debsign.bash_completion | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 40a3c87..bcc2bc9 100644 --- a/debian/changelog +++ b/debian/changelog @@ -41,6 +41,9 @@ devscripts (2.17.10) UNRELEASED; urgency=medium Vcs-Git URL, but sets remote.<name>.pushurl to the rewritten authenticated URL. Thanks to Andreas Henriksson for the patch! (Closes: #753838) + * debsign: + + Use --with-colons in bash completion to fix key completion with gpg2. + (Closes: #837380) [ Daniel Shahaf ] * bts: diff --git a/scripts/debsign.bash_completion b/scripts/debsign.bash_completion index 7d396f9..21ea89e 100644 --- a/scripts/debsign.bash_completion +++ b/scripts/debsign.bash_completion @@ -14,8 +14,8 @@ _debsign() case $prev in -k) - keyid_options=`gpg -K|grep ^sec|cut -d'/' -f2|cut -d' ' -f1` - COMPREPLY=( $( compgen -W "$keyid_options" | grep ^$cur ) ) + keyid_options=$(gpg --fixed-list-mode --with-colons --fingerprint -K | awk -F: '/^sec/{print $5}') + COMPREPLY=( $( compgen -W "$keyid_options" | grep $cur ) ) ;; *) COMPREPLY=( $( -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git _______________________________________________ devscripts-devel mailing list devscripts-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel