Skip to content

Commit 490bb1d

Browse files
authored
Cherry-picker: use --no-tags option when fetching upstream (#319)
Tags not needed for backporting. Cleans up output.
1 parent aac7048 commit 490bb1d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cherry_picker/cherry_picker/cherry_picker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def get_pr_url(self, base_branch, head_branch):
168168
def fetch_upstream(self):
169169
""" git fetch <upstream> """
170170
set_state(WORKFLOW_STATES.FETCHING_UPSTREAM)
171-
cmd = ["git", "fetch", self.upstream]
171+
cmd = ["git", "fetch", self.upstream, "--no-tags"]
172172
self.run_cmd(cmd)
173173
set_state(WORKFLOW_STATES.FETCHED_UPSTREAM)
174174

cherry_picker/readme.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,8 @@ Changelog
338338
1.3.2 (in development)
339339
----------------------
340340

341+
- Use ``--no-tags`` option when fetching upstream. (`PR 319 <https://github.com/python/core-workflow/pull/319>`_)
342+
341343
1.3.1
342344
-----
343345

0 commit comments

Comments
 (0)