diff options
author | Guido Günther <agx@sigxcpu.org> | 2015-05-04 08:52:06 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2015-05-04 09:08:47 +0200 |
commit | 451ec187fbf9c3c6becb17430cbb930bbc9bce51 (patch) | |
tree | f3356c9ba22f61979554c1cf3817f2c015517a95 | |
parent | e2423313c5dbace49ce3a9759e103d426d50cdd0 (diff) |
Use a single space consistently
to save some electrons
Gbp-Dch: Ignore
-rw-r--r-- | debian/git-buildpackage.bash-completion | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/debian/git-buildpackage.bash-completion b/debian/git-buildpackage.bash-completion index d0cfd071..50c9e1b8 100644 --- a/debian/git-buildpackage.bash-completion +++ b/debian/git-buildpackage.bash-completion @@ -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' } |