浏览代码

normal git clone instead of mirror

Nick Sweeting 5 年之前
父节点
当前提交
215d5eae32
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 = [
         GIT_BINARY,
         'clone',
-        '--mirror',
+        # '--mirror',
         '--recursive',
         *([] if CHECK_SSL_VALIDITY else ['-c', 'http.sslVerify=false']),
         without_query(without_fragment(link.url)),