ruby-changes:72953
From: Nobuyoshi <ko1@a...>
Date: Thu, 18 Aug 2022 11:05:46 +0900 (JST)
Subject: [ruby-changes:72953] fbaa2f0b3b (master): Suppress detached head warnings [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=fbaa2f0b3b From fbaa2f0b3b73271b692e7dc47cf19df6e05a7eeb Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Thu, 18 Aug 2022 11:05:34 +0900 Subject: Suppress detached head warnings [ci skip] Check out the revisions for testing as "detached" from the beginning. --- defs/gmake.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/defs/gmake.mk b/defs/gmake.mk index 9d055d0f1a..93b7373668 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -324,7 +324,10 @@ $(srcdir)/gems/src/$(1): | $(srcdir)/gems/src https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L324 $(srcdir)/.bundle/gems/$(1)-$(2): | $(srcdir)/gems/src/$(1) .bundle/gems $(ECHO) Copying $(1)@$(3) to $$(@F) - $(Q) $(CHDIR) "$(srcdir)/gems/src/$(1)" && $(GIT) fetch origin $(3) && $(GIT) checkout $(3) + $(Q) $(CHDIR) "$(srcdir)/gems/src/$(1)" && \ + $(GIT) fetch origin $(3) && \ + $(GIT) checkout --detach $(3) && \ + : $(Q) $(BASERUBY) -C "$(srcdir)" \ -Itool/lib -rbundled_gem \ -e 'BundledGem.copy("gems/src/$(1)/$(1).gemspec", ".bundle")' -- cgit v1.2.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/