diff options
author | Martin Quinson <martin.quinson@loria.fr> | 2012-01-23 10:14:37 +0100 |
---|---|---|
committer | Martin Quinson <martin.quinson@loria.fr> | 2012-01-23 10:14:37 +0100 |
commit | db24c8584d13dcaf23226afed4737306bf22719f (patch) | |
tree | 8e7cc7eb2e75fc1e524e56ddbef9504aa1f0fb3c | |
parent | b2245d7cc4ea8e5ff90d1afb68b5059eefb8740a (diff) | |
download | quilt-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.
-rw-r--r-- | bash_completion | 2 |
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 |