summaryrefslogtreecommitdiffstats
path: root/bash_completion
diff options
context:
space:
mode:
authorMartin Quinson <martin.quinson@loria.fr>2012-01-23 10:14:37 +0100
committerMartin Quinson <martin.quinson@loria.fr>2012-01-23 10:14:37 +0100
commitdb24c8584d13dcaf23226afed4737306bf22719f (patch)
tree8e7cc7eb2e75fc1e524e56ddbef9504aa1f0fb3c /bash_completion
parentb2245d7cc4ea8e5ff90d1afb68b5059eefb8740a (diff)
downloadquilt-db24c8584d13dcaf23226afed4737306bf22719f.tar.gz
Silence the completion of the push script
When using bash TAB completion in "quilt push <TAB>", if no patch is applied, it shows the standard error of the command "quilt applied" ("No patches applied"), used in the source file bash_completion to get the list of applied patches. This is similar to commit 6af132b5061f6773f9591ebde625c92a395ebc91, but for the push script that were forgotten previously.
Diffstat (limited to 'bash_completion')
-rw-r--r--bash_completion2
1 files changed, 1 insertions, 1 deletions
diff --git a/bash_completion b/bash_completion
index 2d31e76..19736cb 100644
--- a/bash_completion
+++ b/bash_completion
@@ -239,7 +239,7 @@ _quilt_completion()
COMPREPLY=( $( compgen -W "-a -f -R -q -v -h $(quilt applied 2>/dev/null)" -- $cur ) )
;;
push)
- COMPREPLY=( $( compgen -W "-a -f -q -v -h --leave-rejects --interactive --color $(quilt unapplied)" -- $cur ) )
+ COMPREPLY=( $( compgen -W "-a -f -q -v -h --leave-rejects --interactive --color $(quilt unapplied 2>/dev/null)" -- $cur ) )
;;
refresh)
case $prev in