summaryrefslogtreecommitdiff
path: root/tool/vcs.rb
diff options
context:
space:
mode:
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