ruby-changes:55522
From: Takashi <ko1@a...>
Date: Thu, 25 Apr 2019 18:07:58 +0900 (JST)
Subject: [ruby-changes:55522] Takashi Kokubun:6de9128fe9 (trunk): Add `make checkout-github` too
From 6de9128fe942de9a0306fe63b949b1a9c343e2c8 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Thu, 25 Apr 2019 18:05:51 +0900 Subject: Add `make checkout-github` too You can use this like `make checkout-github PR=1234` diff --git a/defs/gmake.mk b/defs/gmake.mk index e1ef97f..fd59b16 100644 --- a/defs/gmake.mk +++ b/defs/gmake.mk @@ -168,6 +168,10 @@ fetch-github: https://github.com/ruby/ruby/blob/trunk/#L168 fi git -C "$(srcdir)" fetch -f github "pull/$(PR)/head:gh-$(PR)" +.PHONY: checkout-github +checkout-github: fetch-github + git -C "$(srcdir)" checkout "gh-$(PR)" + .PHONY: merge-github merge-github: fetch-github $(eval GITHUB_MERGE_BASE := $(shell git -C "$(srcdir)" log -1 --format=format:%H)) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/