Commit 451ec187 authored by Guido Günther's avatar Guido Günther

Use a single space consistently

to save some electrons

Gbp-Dch: Ignore
parent e2423313
......@@ -3,33 +3,33 @@
# Bash tab auto-completion rules for git-buildpackage.
#
# Copyright (C) 2010 Siegfried-Angel Gevatter Pujals <siegfried@gevatter.com>
# Copyright (C) 2010,2013 Guido Guenther <agx@sigxcpu.org>
# Copyright (C) 2010,2013,2015 Guido Guenther <agx@sigxcpu.org>
#
# Distributed under the GNU General Public License, version 2.0.
_gbp_branches ()
{
[ -d .git ] || return 0
git for-each-ref --format="%(refname:short)" refs/heads
git for-each-ref --format="%(refname:short)" refs/heads
}
_gbp_tags ()
{
[ -d .git ] || return 0
git for-each-ref --format="%(refname:short)" refs/tags
git for-each-ref --format="%(refname:short)" refs/tags
}
_gbp_options ()
{
gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p'
gbp "${1}" --help | sed -ne 's/^ \+\(\(\-[a-z]\), \)\?\(\-\-[a-z\-]\+\=\?\).*/\2 \3/p'
}
_gbp_commands ()
{
gbp --list-cmds | sed -ne 's/^ \+\([a-z\-]\+\) \-.*/\1/p'
gbp --list-cmds | sed -ne 's/^ \+\([a-z\-]\+\) \-.*/\1/p'
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment