Skip to content

Commit 6cd1d10

Browse files
chore: remove commit param from remote repo operator (#49)
1 parent cfaca9f commit 6cd1d10

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/codegen/git/repo_operator/remote_repo_operator.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,12 @@ def __init__(
3636
self,
3737
repo_config: RepoConfig,
3838
base_dir: str = "/tmp",
39-
commit: str | None = None,
4039
setup_option: SetupOption = SetupOption.PULL_OR_CLONE,
4140
shallow: bool = True,
4241
bot_commit: bool = True,
4342
) -> None:
4443
super().__init__(repo_config=repo_config, base_dir=base_dir, bot_commit=bot_commit)
4544
self.setup_repo_dir(setup_option=setup_option, shallow=shallow)
46-
if commit:
47-
self.checkout_commit(commit)
4845

4946
####################################################################################################################
5047
# PROPERTIES

0 commit comments

Comments
 (0)