Skip to content

Commit

Permalink
Cleaning up incorrect patgh
Browse files Browse the repository at this point in the history
  • Loading branch information
marcleblanc2 committed Mar 26, 2024
1 parent 0895900 commit cf8b484
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repo-converter/build/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1066,6 +1066,10 @@ def cleanup_branches_and_tags(local_repo_path, cmd_git_default_branch, git_defau
elif path == f"{local_branch_prefix}{git_default_branch}":
continue

# If the path is the incorrectly formatted default branch, then delete it
elif path == f"{local_branch_prefix}/{git_default_branch}":
continue

# If the path is a remote tag, then copy it to a local path
elif path.startswith(remote_tag_prefix):

Expand Down

0 comments on commit cf8b484

Please sign in to comment.