ruby-changes:60916
From: Nobuyoshi <ko1@a...>
Date: Mon, 27 Apr 2020 01:04:43 +0900 (JST)
Subject: [ruby-changes:60916] a217d3cedc (master): check: compare with right upstream
https://git.ruby-lang.org/ruby.git/commit/?id=a217d3cedc From a217d3cedce3f5aa5c27a1ce6c72b65ec37da057 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Mon, 27 Apr 2020 00:40:43 +0900 Subject: check: compare with right upstream diff --git a/common.mk b/common.mk index a5e015f..616276e 100644 --- a/common.mk +++ b/common.mk @@ -723,8 +723,10 @@ clean-spec: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L723 check: main test test-tool test-all test-spec $(ECHO) check succeeded - -$(Q) if [ x"$(GIT)" != x ] && $(CHDIR) "$(srcdir)" && $(GIT) rev-parse > /dev/null 2>&1; then \ - set -x; $(GIT) --no-pager log --format=oneline -G "^ *# *include" origin/master..HEAD; \ + -$(Q) if [ x"$(GIT)" != x ] && $(CHDIR) "$(srcdir)" && \ + b=`$(GIT) symbolic-ref --short HEAD 2>&1` && \ + u=`$(GIT) branch --list --format='%(upstream:short)' $$b`; then \ + set -x; $(GIT) --no-pager log --format=oneline -G "^ *# *include" $$u..HEAD --; \ fi check-ruby: test test-ruby -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/