mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-27 05:21:34 +01:00
eclass/git-r3: Sync with Gentoo
It's from Gentoo commit 142a99106adf15e03c3fc45a490730bdb7b56980.
This commit is contained in:
parent
047d924e09
commit
95974b868a
@ -682,6 +682,8 @@ git-r3_fetch() {
|
|||||||
# and HEAD in case we need the default branch
|
# and HEAD in case we need the default branch
|
||||||
# (we keep it in refs/git-r3 since otherwise --prune interferes)
|
# (we keep it in refs/git-r3 since otherwise --prune interferes)
|
||||||
"+HEAD:refs/git-r3/HEAD"
|
"+HEAD:refs/git-r3/HEAD"
|
||||||
|
# fetch the specifc commit_ref to deal with orphan commits
|
||||||
|
"${remote_ref}"
|
||||||
)
|
)
|
||||||
else # single or shallow
|
else # single or shallow
|
||||||
local fetch_l fetch_r
|
local fetch_l fetch_r
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user