1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Suppress detached head warnings [ci skip]

Check out the revisions for testing as "detached" from the beginning.
This commit is contained in:
Nobuyoshi Nakada 2022-08-18 11:05:34 +09:00
parent bfefaf47f0
commit fbaa2f0b3b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -324,7 +324,10 @@ $(srcdir)/gems/src/$(1): | $(srcdir)/gems/src
$(srcdir)/.bundle/gems/$(1)-$(2): | $(srcdir)/gems/src/$(1) .bundle/gems $(srcdir)/.bundle/gems/$(1)-$(2): | $(srcdir)/gems/src/$(1) .bundle/gems
$(ECHO) Copying $(1)@$(3) to $$(@F) $(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)" \ $(Q) $(BASERUBY) -C "$(srcdir)" \
-Itool/lib -rbundled_gem \ -Itool/lib -rbundled_gem \
-e 'BundledGem.copy("gems/src/$(1)/$(1).gemspec", ".bundle")' -e 'BundledGem.copy("gems/src/$(1)/$(1).gemspec", ".bundle")'