Merge "Push with --no-follow-tags"

This commit is contained in:
Zuul 2019-06-19 15:28:07 +00:00 committed by Gerrit Code Review
commit 97b7c0ee31

View File

@ -1643,7 +1643,8 @@ def _main():
if options.custom_script:
run_custom_script("draft")
cmd = "git push %s HEAD:refs/%s/%s" % (remote, ref, branch)
cmd = ("git push --no-follow-tags %s HEAD:refs/%s/%s" %
(remote, ref, branch))
push_options = []
if options.topic is not None:
topic = options.topic