public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] git-r3: fetch pullrequest refs on mirror clone type
@ 2020-08-26 10:09 Frédéric Pierret (fepitre)
  0 siblings, 0 replies; only message in thread
From: Frédéric Pierret (fepitre) @ 2020-08-26 10:09 UTC (permalink / raw
  To: gentoo-dev; +Cc: Frédéric Pierret (fepitre)

Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
---
 eclass/git-r3.eclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass
index 6c75d11218c..cda7ac161e9 100644
--- a/eclass/git-r3.eclass
+++ b/eclass/git-r3.eclass
@@ -683,6 +683,8 @@ git-r3_fetch() {
 					"+refs/tags/*:refs/tags/*"
 					# notes in case something needs them
 					"+refs/notes/*:refs/notes/*"
+					# pullrequest refs are useful for testing incoming changes
+					"+refs/pull/*/head:refs/pull/*"
 					# 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"
-- 
2.25.4




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-26 10:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-26 10:09 [gentoo-dev] [PATCH] git-r3: fetch pullrequest refs on mirror clone type Frédéric Pierret (fepitre)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox