[Bash-completion-commits] [SCM] debian-package branch, master, updated. debian/1.99-3-1-g05a13e7

David Paleino dapal at debian.org
Fri Feb 10 19:46:17 UTC 2012


The following commit has been merged in the master branch:
commit 05a13e7ea2cb7a29a1417f9d01a89e6a7c09c67b
Author: David Paleino <dapal at debian.org>
Date:   Fri Feb 10 20:45:09 2012 +0100

    Complete 'apt-get changelog' (Closes: #659395)

diff --git a/debian/changelog b/debian/changelog
index 45e53fa..a4201d5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+bash-completion (1:1.99-4) UNRELEASED; urgency=low
+
+  * Complete 'apt-get changelog' (Closes: #659395)
+
+ -- David Paleino <dapal at debian.org>  Fri, 10 Feb 2012 20:44:43 +0100
+
 bash-completion (1:1.99-3) unstable; urgency=low
 
   * Fixed issue when loading completions from the /etc/bash_completion
diff --git a/debian/patches/01-apt_get_changelog.patch b/debian/patches/01-apt_get_changelog.patch
new file mode 100644
index 0000000..9d29522
--- /dev/null
+++ b/debian/patches/01-apt_get_changelog.patch
@@ -0,0 +1,28 @@
+From: David Paleino <dapal at debian.org>
+Subject: complete on "apt-get changelog"
+Origin: upstream
+
+---
+ completions/apt-get |    4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- bash-completion.orig/completions/apt-get
++++ bash-completion/completions/apt-get
+@@ -7,7 +7,7 @@ _apt_get()
+ 
+     local special i
+     for (( i=0; i < ${#words[@]}-1; i++ )); do
+-        if [[ ${words[i]} == @(install|remove|autoremove|purge|source|build-dep|download) ]]; then
++        if [[ ${words[i]} == @(install|remove|autoremove|purge|source|build-dep|download|changelog) ]]; then
+             special=${words[i]}
+         fi
+     done
+@@ -65,7 +65,7 @@ _apt_get()
+     else
+         COMPREPLY=( $( compgen -W 'update upgrade dselect-upgrade \
+             dist-upgrade install remove purge source build-dep \
+-            download \
++            download changelog \
+             check clean autoclean autoremove' -- "$cur" ) )
+     fi
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4f77fe9..2e75e4b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 00-fix_symlink_issue.patch
+01-apt_get_changelog.patch

-- 
debian-package



More information about the Bash-completion-commits mailing list