aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2015-05-04 19:01:46 +0200
committerGuido Günther <agx@sigxcpu.org>2015-05-05 08:51:45 +0200
commit3585fdb205b8ff40fed36e0a8743023376cd9b81 (patch)
tree0b742d6a2b7d48cce8b65d46aa316f101cfc46dc
parentf22785b525077d8f4cbac1d674b6cb8af6fb28b1 (diff)
bash-completion: Disable config section deprecation warnings
It's of no use if we get these warnings on bash completion it only confuses users. They're still shown when running the actual command.
-rw-r--r--debian/git-buildpackage.bash-completion3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion
index d6991a1..a978d00 100644
--- a/debian/git-buildpackage.bash-completion
+++ b/debian/git-buildpackage.bash-completion
@@ -23,7 +23,8 @@ _gbp_tags ()
_gbp_options ()
{
- gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p'
+ GBP_DISABLE_SECTION_DEPRECTATION=true \
+ gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p'
}