зеркало из https://github.com/github/ruby.git
Fix a typo
This commit is contained in:
Родитель
71952440ad
Коммит
a1ae478a31
|
@ -402,7 +402,7 @@ class VCS
|
||||||
modified = log[/^Date:\s+(.*)/, 1]
|
modified = log[/^Date:\s+(.*)/, 1]
|
||||||
branch = cmd_read_at(srcdir, [gitcmd + %W[symbolic-ref --short HEAD]])
|
branch = cmd_read_at(srcdir, [gitcmd + %W[symbolic-ref --short HEAD]])
|
||||||
branch.chomp!
|
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!
|
upstream.chomp!
|
||||||
title = cmd_read_at(srcdir, [gitcmd + %W[log --format=%s -n1 #{upstream}..HEAD]])
|
title = cmd_read_at(srcdir, [gitcmd + %W[log --format=%s -n1 #{upstream}..HEAD]])
|
||||||
title = nil if title.empty?
|
title = nil if title.empty?
|
||||||
|
|
Загрузка…
Ссылка в новой задаче