aboutsummaryrefslogtreecommitdiffstats
path: root/tool/vcs.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-28 00:30:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-04-28 00:30:16 +0900
commitbb6036946ef7337c8bef6380ba394c082d5452cb (patch)
treef79cb961c49efe575f92d90a0af0716caf406513 /tool/vcs.rb
parent87d2a2df1b40016401a2f6dfc98e46880bbd18fd (diff)
downloadruby-bb6036946ef7337c8bef6380ba394c082d5452cb.tar.gz
Reduce matz's work, let git do it instead
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r--tool/vcs.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/tool/vcs.rb b/tool/vcs.rb
index 7f302c9437..6078f1a429 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -451,6 +451,12 @@ class VCS
FileUtils.rm_rf(Dir.glob("#{dir}/.git*"))
end
+ def branch_beginning
+ cmd_read(%W[ #{COMMAND} log -n1 --format=format:%H --reverse
+ --author=matz --committer=matz --grep=start
+ -- version.h include/ruby/version.h])
+ end
+
def export_changelog(url, from, to, path)
range = [from, to].map do |rev|
rev or next