mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 23:24:30 -04: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')):
|
if os.path.exists(os.path.join(link_dir, 'git')):
|
||||||
return {'output': 'git', 'status': 'skipped'}
|
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'
|
output = 'git'
|
||||||
|
|
||||||
end = progress(timeout, prefix=' ')
|
end = progress(timeout, prefix=' ')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue