Remove deprecated (and removed) git lfs flags

"--tags" and "--force" were removed at some point from "git lfs fetch". This broke our backup script.
This commit is contained in:
smiley
2020-01-20 15:40:52 +02:00
committed by GitHub
parent 98919c82c9
commit b864218b44

View File

@@ -1032,7 +1032,7 @@ def fetch_repository(name,
logging_subprocess(git_command, None, cwd=local_dir) logging_subprocess(git_command, None, cwd=local_dir)
if lfs_clone: if lfs_clone:
git_command = ['git', 'lfs', 'fetch', '--all', '--force', '--tags', '--prune'] git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
else: else:
git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune'] git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
logging_subprocess(git_command, None, cwd=local_dir) logging_subprocess(git_command, None, cwd=local_dir)