From b864218b4403b595792b82664368648f0f393d17 Mon Sep 17 00:00:00 2001 From: smiley Date: Mon, 20 Jan 2020 15:40:52 +0200 Subject: [PATCH] Remove deprecated (and removed) git lfs flags "--tags" and "--force" were removed at some point from "git lfs fetch". This broke our backup script. --- bin/github-backup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/github-backup b/bin/github-backup index 1d84af3..374d814 100755 --- a/bin/github-backup +++ b/bin/github-backup @@ -1032,7 +1032,7 @@ def fetch_repository(name, logging_subprocess(git_command, None, cwd=local_dir) if lfs_clone: - git_command = ['git', 'lfs', 'fetch', '--all', '--force', '--tags', '--prune'] + git_command = ['git', 'lfs', 'fetch', '--all', '--prune'] else: git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune'] logging_subprocess(git_command, None, cwd=local_dir)