We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8335451 commit 60dfb95Copy full SHA for 60dfb95
codeflash/code_utils/git_utils.py
@@ -82,6 +82,7 @@ def get_git_remotes(repo: Repo) -> list[str]:
82
def get_repo_owner_and_name(repo: Repo | None = None, git_remote: str | None = "origin") -> tuple[str, str]:
83
remote_url = get_remote_url(repo, git_remote) # call only once
84
remote_url = remote_url.removesuffix(".git") if remote_url.endswith(".git") else remote_url
85
+ # remote_url = get_remote_url(repo, git_remote).removesuffix(".git") if remote_url.endswith(".git") else remote_url
86
remote_url = remote_url.rstrip("/")
87
split_url = remote_url.split("/")
88
repo_owner_with_github, repo_name = split_url[-2], split_url[-1]
0 commit comments