ruby-changes:55446
From: nobu <ko1@a...>
Date: Sun, 21 Apr 2019 12:30:42 +0900 (JST)
Subject: [ruby-changes:55446] nobu:r67662 (trunk): Show the latest commit hash after update
nobu 2019-04-21 12:30:38 +0900 (Sun, 21 Apr 2019) New Revision: 67662 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=67662 Log: Show the latest commit hash after update Modified files: trunk/defs/gmake.mk Index: defs/gmake.mk =================================================================== --- defs/gmake.mk (revision 67661) +++ defs/gmake.mk (revision 67662) @@ -214,3 +214,8 @@ clean-srcs-ext:: https://github.com/ruby/ruby/blob/trunk/defs/gmake.mk#L214 clean-srcs-extra:: $(Q)$(RM) $(patsubst $(srcdir)/%,%,$(EXTRA_SRCS)) + +ifneq ($(filter $(VCS),git),) +update-src:: + @$(BASERUBY) $(srcdir)/tool/colorize.rb pass "Latest commit hash = $(shell $(filter-out svn,$(VCS)) -C $(srcdir) rev-parse --short HEAD)" +endif -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/