diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-05-02 14:44:47 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2019-05-02 14:44:47 +0900 |
commit | a1ae478a31ffe4fd21c17f785f1827c031281be8 (patch) | |
tree | b7e59d5371a321eb147a4e2360ecb0c64b131c5e /tool | |
parent | 71952440adcbdd1ff51aea519bc14e8965b84ebf (diff) |
Fix a typo
Diffstat (limited to 'tool')
-rw-r--r-- | tool/vcs.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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? |