[前][次][番号順一覧][スレッド一覧]

ruby-changes:57047

From: Nobuyoshi <ko1@a...>
Date: Thu, 15 Aug 2019 21:37:06 +0900 (JST)
Subject: [ruby-changes:57047] Nobuyoshi Nakada: c4152b11a7 (master): Prepare to pull commits notes [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=c4152b11a7

From c4152b11a7fbc849a545b34e5b9d85f1fdc1a21f Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Thu, 15 Aug 2019 21:34:34 +0900
Subject: Prepare to pull commits notes [ci skip]


diff --git a/defs/gmake.mk b/defs/gmake.mk
index 798d673..b26c603 100644
--- a/defs/gmake.mk
+++ b/defs/gmake.mk
@@ -161,6 +161,7 @@ PR = https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L161
 
 COMMIT_GPG_SIGN = $(shell git -C "$(srcdir)" config commit.gpgsign)
 REMOTE_GITHUB_URL = $(shell git -C "$(srcdir)" config remote.github.url)
+COMMITS_NOTES = commits
 
 .PHONY: fetch-github
 fetch-github:
@@ -175,6 +176,7 @@ define fetch-github https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L176
 	$(if $(REMOTE_GITHUB_URL),, \
 	  echo adding $(GITHUB_RUBY_URL) as remote github; \
 	  git -C "$(srcdir)" remote add github $(GITHUB_RUBY_URL); \
+	  git -C "$(srcdir)" config --add remote.github.fetch +refs/notes/$(COMMITS_NOTES):refs/notes/$(COMMITS_NOTES)
 	  $(eval REMOTE_GITHUB_URL := $(GITHUB_RUBY_URL)) \
 	)
 	$(if $(git -C "$(srcdir)" rev-parse "github/pull/$(1)/head" -- 2> /dev/null), \
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]