Skip to content

Commit b864218

Browse files
authored
Remove deprecated (and removed) git lfs flags
"--tags" and "--force" were removed at some point from "git lfs fetch". This broke our backup script.
1 parent 98919c8 commit b864218

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/github-backup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1032,7 +1032,7 @@ def fetch_repository(name,
10321032
logging_subprocess(git_command, None, cwd=local_dir)
10331033

10341034
if lfs_clone:
1035-
git_command = ['git', 'lfs', 'fetch', '--all', '--force', '--tags', '--prune']
1035+
git_command = ['git', 'lfs', 'fetch', '--all', '--prune']
10361036
else:
10371037
git_command = ['git', 'fetch', '--all', '--force', '--tags', '--prune']
10381038
logging_subprocess(git_command, None, cwd=local_dir)

0 commit comments

Comments
 (0)