diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-04-28 00:30:16 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-04-28 00:30:16 +0900 |
commit | bb6036946ef7337c8bef6380ba394c082d5452cb (patch) | |
tree | f79cb961c49efe575f92d90a0af0716caf406513 /tool/vcs.rb | |
parent | 87d2a2df1b40016401a2f6dfc98e46880bbd18fd (diff) | |
download | ruby-bb6036946ef7337c8bef6380ba394c082d5452cb.tar.gz |
Reduce matz's work, let git do it instead
Diffstat (limited to 'tool/vcs.rb')
-rw-r--r-- | tool/vcs.rb | 6 |
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 |