summaryrefslogtreecommitdiff
path: root/eclass/git-r3.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-12-20 19:51:59 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-12-20 19:51:59 +0000
commit1fb8608d6f0b1acf0e34361c105533087a09c710 (patch)
tree5c247db22c44a72ff61ecd68477ed3d7ee357cb8 /eclass/git-r3.eclass
parentaec6329fe6b56821fd643ccaacb4d5d61f4eaad6 (diff)
gentoo auto-resync : 20:12:2023 - 19:51:59
Diffstat (limited to 'eclass/git-r3.eclass')
-rw-r--r--eclass/git-r3.eclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index a08845364296..de89fdc3a223 100644
--- a/eclass/git-r3.eclass
+++ b/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