mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-08 00:05:33 +03:00
media-gfx/blender: force EGIT_LFS_CLONE_TYPE="single"
Pruning the lfs files after the initial clone results in long wait and potential `Prune error: Git can't resolve ref: "HEAD"`. We avoid this by only cloning a single version of the lfs. Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/44694 Closes: https://github.com/gentoo/gentoo/pull/44694 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
ce7f55d364
commit
6bc279288b
@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
|
||||
EGIT_SUBMODULES=( '*' '-lib/*' )
|
||||
# using shallow causes long wait times.
|
||||
EGIT_LFS_CLONE_TYPE="single"
|
||||
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
EGIT_BRANCH="main"
|
||||
|
||||
@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
|
||||
EGIT_SUBMODULES=( '*' '-lib/*' )
|
||||
# using shallow causes long wait times.
|
||||
EGIT_LFS_CLONE_TYPE="single"
|
||||
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
EGIT_BRANCH="main"
|
||||
|
||||
@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
|
||||
EGIT_SUBMODULES=( '*' '-lib/*' )
|
||||
# using shallow causes long wait times.
|
||||
EGIT_LFS_CLONE_TYPE="single"
|
||||
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
EGIT_BRANCH="main"
|
||||
|
||||
@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
|
||||
EGIT_SUBMODULES=( '*' '-lib/*' )
|
||||
# using shallow causes long wait times.
|
||||
EGIT_LFS_CLONE_TYPE="single"
|
||||
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
EGIT_BRANCH="main"
|
||||
|
||||
@ -41,6 +41,8 @@ if [[ "${PV}" == *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://projects.blender.org/blender/blender.git"
|
||||
EGIT_SUBMODULES=( '*' '-lib/*' )
|
||||
# using shallow causes long wait times.
|
||||
EGIT_LFS_CLONE_TYPE="single"
|
||||
|
||||
if [[ "${PV}" == 9999* ]]; then
|
||||
EGIT_BRANCH="main"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user