aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/gbp-posttag-push
diff options
context:
space:
mode:
Diffstat (limited to 'examples/gbp-posttag-push')
-rwxr-xr-xexamples/gbp-posttag-push2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gbp-posttag-push b/examples/gbp-posttag-push
index 5b5b5bfa..6f92f836 100755
--- a/examples/gbp-posttag-push
+++ b/examples/gbp-posttag-push
@@ -38,7 +38,7 @@ class Env(object):
def get_push_targets(env):
"""get a list of push targets"""
dests = {}
- cmd = "git config --get-regexp 'remote\..*\.push' '%s(:.*)?$'" % env.branch
+ cmd = "git config --get-regexp 'remote\..*\.push' '^%s(:.*)?$'" % env.branch
for remote in subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True).communicate()[0].split("\n"):
if not len(remote):
continue