Browse Source

normal git clone instead of mirror

Nick Sweeting 5 years ago
parent
commit
215d5eae32
1 changed files with 1 additions and 1 deletions
  1. 1 1
      archivebox/extractors/git.py

+ 1 - 1
archivebox/extractors/git.py

@@ -56,7 +56,7 @@ def save_git(link: Link, out_dir: Optional[str]=None, timeout: int=TIMEOUT) -> A
     cmd = [
     cmd = [
         GIT_BINARY,
         GIT_BINARY,
         'clone',
         'clone',
-        '--mirror',
+        # '--mirror',
         '--recursive',
         '--recursive',
         *([] if CHECK_SSL_VALIDITY else ['-c', 'http.sslVerify=false']),
         *([] if CHECK_SSL_VALIDITY else ['-c', 'http.sslVerify=false']),
         without_query(without_fragment(link.url)),
         without_query(without_fragment(link.url)),