[前][次][番号順一覧][スレッド一覧]

ruby-changes:55643

From: Kazuhiro <ko1@a...>
Date: Thu, 2 May 2019 14:47:26 +0900 (JST)
Subject: [ruby-changes:55643] Kazuhiro NISHIYAMA:a1ae478a31 (trunk): Fix a typo

https://git.ruby-lang.org/ruby.git/commit/?id=a1ae478a31

From a1ae478a31ffe4fd21c17f785f1827c031281be8 Mon Sep 17 00:00:00 2001
From: Kazuhiro NISHIYAMA <zn@m...>
Date: Thu, 2 May 2019 14:44:47 +0900
Subject: Fix a typo


diff --git a/tool/vcs.rb b/tool/vcs.rb
index f85b57e..8fb9a4e 100644
--- a/tool/vcs.rb
+++ b/tool/vcs.rb
@@ -402,7 +402,7 @@ class VCS https://github.com/ruby/ruby/blob/trunk/tool/vcs.rb#L402
       modified = log[/^Date:\s+(.*)/, 1]
       branch = cmd_read_at(srcdir, [gitcmd + %W[symbolic-ref --short HEAD]])
       branch.chomp!
-      upstream = cmd_read_at(srcdir, [gitcmd + %W[branch --list --format=%(upstream:short) #${branch}]])
+      upstream = cmd_read_at(srcdir, [gitcmd + %W[branch --list --format=%(upstream:short) #{branch}]])
       upstream.chomp!
       title = cmd_read_at(srcdir, [gitcmd + %W[log --format=%s -n1 #{upstream}..HEAD]])
       title = nil if title.empty?
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]