소스 검색

Disable prompts on password-protected repos

tags/v1.0
JustAnotherArchivist 1 년 전
부모
커밋
42e420ad0d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      codearchiver/modules/git.py

+ 1
- 1
codearchiver/modules/git.py 파일 보기

@@ -44,7 +44,7 @@ class Git(codearchiver.core.Module):
raise FileExistsError(f'{bundle!r} already exists')

logger.info(f'Cloning {self._url} into {directory}')
codearchiver.subprocess.run_with_log(['git', 'clone', '--verbose', '--mirror', self._url, directory])
codearchiver.subprocess.run_with_log(['git', 'clone', '--verbose', '--mirror', self._url, directory], env = {**os.environ, 'GIT_TERMINAL_PROMPT': '0'})

if self._extraBranches:
for branch, commit in self._extraBranches.items():


불러오는 중...
취소
저장