Do it.
This commit is contained in:
parent
e06776d81d
commit
adb59eff68
@ -33,6 +33,7 @@ dependencies = [
|
||||
"PyJWT",
|
||||
"multiavatar",
|
||||
"gitpython",
|
||||
"uvloop"
|
||||
]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
|
@ -382,10 +382,10 @@ class GitApplication(web.Application):
|
||||
repo_name = req_path
|
||||
if repo_name.endswith('.git'):
|
||||
repo_name = repo_name[:-4]
|
||||
repo_name = repo_name.lstrip('git/')
|
||||
repo_dir = repository_path.joinpath(repo_name + '.git')
|
||||
repo_name = repo_name[4:]
|
||||
repo_dir = repository_path.joinpath(repo_name + ".git")
|
||||
logger.info(f"Resolved repo path: {repo_dir}")
|
||||
return repo_dir
|
||||
return repo_dir
|
||||
async def handle_info_refs(service):
|
||||
repo_path = await get_repository_path()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user