Skip to content

Commit a3738f6

Browse files
committed
Change gitea_api.Repo.clone_or_update() to take 'ssh_private_key_path' argument
1 parent c926865 commit a3738f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

osc/gitea_api/repo.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ def clone_or_update(
209209
directory: str,
210210
reference: Optional[str] = None,
211211
remote: Optional[str] = None,
212+
ssh_private_key_path: Optional[str] = None,
212213
):
213214
from osc import gitea_api
214215

@@ -223,6 +224,7 @@ def clone_or_update(
223224
directory=directory,
224225
add_remotes=True,
225226
reference=reference,
227+
ssh_private_key_path=ssh_private_key_path,
226228
)
227229

228230
git = gitea_api.Git(directory)

0 commit comments

Comments
 (0)