diff --git a/cherry_picker/cherry_picker/cherry_picker.py b/cherry_picker/cherry_picker/cherry_picker.py index dbd2cd9..4f24e44 100755 --- a/cherry_picker/cherry_picker/cherry_picker.py +++ b/cherry_picker/cherry_picker/cherry_picker.py @@ -168,7 +168,7 @@ def get_pr_url(self, base_branch, head_branch): def fetch_upstream(self): """ git fetch """ 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) diff --git a/cherry_picker/readme.rst b/cherry_picker/readme.rst index 513423f..5238e85 100644 --- a/cherry_picker/readme.rst +++ b/cherry_picker/readme.rst @@ -338,6 +338,8 @@ Changelog 1.3.2 (in development) ---------------------- +- Use ``--no-tags`` option when fetching upstream. (`PR 319 `_) + 1.3.1 -----