Skip to content

Commit 2b82344

Browse files
resolve commit
1 parent ed44b65 commit 2b82344

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/gitingest/utils/git_utils.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -374,11 +374,7 @@ async def resolve_commit(config: CloneConfig, url: str, token: str | None) -> st
374374
return commit
375375

376376

377-
async def _resolve_ref_to_sha(
378-
url: str,
379-
pattern: str,
380-
token: str | None = None,
381-
) -> str:
377+
async def _resolve_ref_to_sha(url: str, pattern: str, token: str | None = None) -> str:
382378
"""Return the commit SHA that <kind>/<ref> points to in <url>.
383379
384380
* Branch → first line from ``git ls-remote``.

0 commit comments

Comments
 (0)