ruby-changes:57397
From: Nobuyoshi <ko1@a...>
Date: Fri, 30 Aug 2019 11:33:58 +0900 (JST)
Subject: [ruby-changes:57397] Nobuyoshi Nakada: 1191049436 (master): Updated comment of VCS#get_revisions [ci skip]
https://git.ruby-lang.org/ruby.git/commit/?id=1191049436 From 1191049436556955893d7f6037eb626e6f51a004 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada <nobu@r...> Date: Fri, 30 Aug 2019 10:13:45 +0900 Subject: Updated comment of VCS#get_revisions [ci skip] diff --git a/tool/lib/vcs.rb b/tool/lib/vcs.rb index 45cd910..db8b91e 100644 --- a/tool/lib/vcs.rb +++ b/tool/lib/vcs.rb @@ -182,8 +182,11 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/lib/vcs.rb#L182 NullDevice = defined?(IO::NULL) ? IO::NULL : %w[/dev/null NUL NIL: NL:].find {|dev| File.exist?(dev)} - # return a pair of strings, the last revision and the last revision in which - # +path+ was modified. + # returns + # * the last revision of the current branch + # * the last revision in which +path+ was modified + # * the last modified time of +path+ + # * the last commit title since the latest upstream def get_revisions(path) if self.class.local_path?(path) path = relative_to(path) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/