Skip to content

Commit

Permalink
Add support to rebased branches
Browse files Browse the repository at this point in the history
  • Loading branch information
openvmp committed Oct 28, 2024
1 parent ba33c52 commit 15355f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partcad/src/partcad/project_factory_git.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def _clone_or_update_repo(self, repo_url, cache_dir=None):
# Need to check for updates
origin.fetch()
repo.git.checkout(self.import_revision, force=True)
origin.pull()
origin.pull(force=True, rebase=True)
pathlib.Path(guard_path).touch()

if not before is None:
Expand Down

0 comments on commit 15355f4

Please sign in to comment.