Make update: Tweak logic for the LFS fallback
Check for both git.b.o and projects.b.o pars of the URL. The LFS objects should be able to be fetched from either of those domains. Pull Request: https://projects.blender.org/blender/blender/pulls/140647
This commit is contained in:
committed by
Sergey Sharybin
parent
f3428ed9af
commit
963d23b0de
@@ -634,7 +634,7 @@ def lfs_fallback_setup(args: argparse.Namespace) -> None:
|
||||
|
||||
for remote in remotes:
|
||||
url = make_utils.git_get_remote_url(args.git_command, remote)
|
||||
if "projects.blender.org" not in url:
|
||||
if "projects.blender.org" not in url and "git.blender.org" not in url:
|
||||
make_utils.git_set_config(args.git_command, f"lfs.{remote}.searchall", "true")
|
||||
else:
|
||||
add_fallback_remote = False
|
||||
|
||||
Reference in New Issue
Block a user