mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-11 15:07:09 +00:00
dont git clone urls with hashes
This commit is contained in:
parent
b8e5e1d5bd
commit
8a9b4d6975
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ def fetch_git(link_dir, link, timeout=TIMEOUT):
|
|||
if os.path.exists(os.path.join(link_dir, 'git')):
|
||||
return {'output': 'git', 'status': 'skipped'}
|
||||
|
||||
CMD = ['git', 'clone', '--mirror', '--recursive', link['url'], 'git']
|
||||
CMD = ['git', 'clone', '--mirror', '--recursive', link['url'].split('#')[0], 'git']
|
||||
output = 'git'
|
||||
|
||||
end = progress(timeout, prefix=' ')
|
||||
|
|
Loading…
Reference in a new issue