mirror of
https://github.com/pre-commit/pre-commit.git
synced 2026-01-14 04:50:20 -06:00
Fix relative path repos
This commit is contained in:
@@ -154,6 +154,9 @@ class Store(object):
|
||||
def clone(self, repo, ref, deps=()):
|
||||
"""Clone the given url and checkout the specific ref."""
|
||||
|
||||
if os.path.isdir(repo):
|
||||
repo = os.path.abspath(repo)
|
||||
|
||||
def clone_strategy(directory):
|
||||
env = git.no_git_env()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user