From a1ae478a31ffe4fd21c17f785f1827c031281be8 Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Thu, 2 May 2019 14:44:47 +0900 Subject: [PATCH] Fix a typo --- tool/vcs.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/vcs.rb b/tool/vcs.rb index f85b57e3cf..8fb9a4ed80 100644 --- a/tool/vcs.rb +++ b/tool/vcs.rb @@ -402,7 +402,7 @@ class VCS 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?