Skip to content

Commit

Permalink
Cherry-picker: use --no-tags option when fetching upstream (#319)
Browse files Browse the repository at this point in the history
Tags not needed for backporting. Cleans up output.
  • Loading branch information
Mariatta authored May 8, 2019
1 parent aac7048 commit 490bb1d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cherry_picker/cherry_picker/cherry_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def get_pr_url(self, base_branch, head_branch):
def fetch_upstream(self):
""" git fetch <upstream> """
set_state(WORKFLOW_STATES.FETCHING_UPSTREAM)
cmd = ["git", "fetch", self.upstream]
cmd = ["git", "fetch", self.upstream, "--no-tags"]
self.run_cmd(cmd)
set_state(WORKFLOW_STATES.FETCHED_UPSTREAM)

Expand Down
2 changes: 2 additions & 0 deletions cherry_picker/readme.rst
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,8 @@ Changelog
1.3.2 (in development)
----------------------

- Use ``--no-tags`` option when fetching upstream. (`PR 319 <https://github.com/python/core-workflow/pull/319>`_)

1.3.1
-----

Expand Down

0 comments on commit 490bb1d

Please sign in to comment.