Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaMilosa committed Dec 13, 2024
1 parent 8860cc1 commit 0ca0c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/src/revisions/git_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def sync_main_branch_and_checkout_branch(
if not repo_root.exists():
raise Exception("Expected dir %s to exist", repo_root.name)

subprocess.call(["git", "fetch", "--detph=1", "--no-tags", "origin", f"{main_branch}:{main_branch}"], cwd=repo_root)
subprocess.call(["git", "fetch", "--depth=1", "--no-tags", "origin", f"{main_branch}:{main_branch}"], cwd=repo_root)

result = subprocess.run(["git", "status", "--porcelain"], stdout=subprocess.PIPE, text=True, check=True)
if result.stdout.strip():
Expand Down

0 comments on commit 0ca0c49

Please sign in to comment.