mirror of
https://github.com/modelscope/modelscope.git
synced 2025-12-25 12:39:25 +01:00
[to #46604161]fix: git repository initialize lfs bug
Link: https://code.alibaba-inc.com/Ali-MaaS/MaaS-lib/codereview/11005012
This commit is contained in:
@@ -94,7 +94,7 @@ class GitCommandWrapper(metaclass=Singleton):
|
||||
return False
|
||||
|
||||
def git_lfs_install(self, repo_dir):
|
||||
cmd = ['git', '-C', repo_dir, 'lfs', 'install']
|
||||
cmd = ['-C', repo_dir, 'lfs', 'install']
|
||||
try:
|
||||
self._run_git_command(*cmd)
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user