Skip to content

Commit

Permalink
Set root tag after applying patches in reset()
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala committed Jul 16, 2024
1 parent 7792a0c commit 5eb7a57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions upstream_utils/upstream_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,10 +454,10 @@ def reset(self):

subprocess.run(["git", "switch", "--detach", self.old_tag])

self.set_root_tag(self.old_tag)

self.apply_patches()

self.set_root_tag(self.old_tag)

def rebase(self, new_tag):
"""Rebases the patches.
Expand Down

0 comments on commit 5eb7a57

Please sign in to comment.