From 95974b868a2baa0a0a8f91f5ed840694d8a2cc4f Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 1 Jan 2024 07:12:50 +0000 Subject: [PATCH] eclass/git-r3: Sync with Gentoo It's from Gentoo commit 142a99106adf15e03c3fc45a490730bdb7b56980. --- .../src/third_party/portage-stable/eclass/git-r3.eclass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdk_container/src/third_party/portage-stable/eclass/git-r3.eclass b/sdk_container/src/third_party/portage-stable/eclass/git-r3.eclass index a088453642..de89fdc3a2 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/git-r3.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/git-r3.eclass @@ -682,6 +682,8 @@ git-r3_fetch() { # and HEAD in case we need the default branch # (we keep it in refs/git-r3 since otherwise --prune interferes) "+HEAD:refs/git-r3/HEAD" + # fetch the specifc commit_ref to deal with orphan commits + "${remote_ref}" ) else # single or shallow local fetch_l fetch_r