##// END OF EJS Templates
Make detecting bare Git repositories more robust...
Make detecting bare Git repositories more robust Git remote repositories may end on '.git', e.g. myrepo.git. Just checking for a repository path to end on '.git' causes 'Repository not found' errors in such a case. To distinguish between bare and normal Git repositories, check if there is a '/.git' part at the end of the repository path (i.e. if GIT_DIR is pointing to '.' (bare) or '.git').
Stefan Engel -
r2872:17556a81 beta
Show More
Name Size Modified Last Commit Author
/ rhodecode / model
__init__.py Loading ...
changeset_status.py Loading ...
comment.py Loading ...
db.py Loading ...
forms.py Loading ...
meta.py Loading ...
notification.py Loading ...
permission.py Loading ...
pull_request.py Loading ...
repo.py Loading ...
repo_permission.py Loading ...
repos_group.py Loading ...
scm.py Loading ...
user.py Loading ...
users_group.py Loading ...
validators.py Loading ...