Selaa lähdekoodia

Add --progress option to cloning for more details

tags/v1.0
JustAnotherArchivist 1 vuosi sitten
vanhempi
commit
6f7a95d289
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      codearchiver/modules/git.py

+ 1
- 1
codearchiver/modules/git.py Näytä tiedosto

@@ -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], env = {**os.environ, 'GIT_TERMINAL_PROMPT': '0'})
codearchiver.subprocess.run_with_log(['git', 'clone', '--verbose', '--progress', '--mirror', self._url, directory], env = {**os.environ, 'GIT_TERMINAL_PROMPT': '0'})

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


Ladataan…
Peruuta
Tallenna