1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix missing gitcmd

This commit is contained in:
Nobuyoshi Nakada 2019-05-30 22:27:11 +09:00
parent 22cd402734
commit f0945176c3
No known key found for this signature in database
GPG key ID: 4BC7D6DF58D8DF60

View file

@ -461,7 +461,7 @@ class VCS
end
def stable
cmd = %W"for-each-ref --format=\%(refname:short) refs/heads/ruby_[0-9]*"
cmd = gitcmd + %W"for-each-ref --format=\%(refname:short) refs/heads/ruby_[0-9]*"
branch(cmd_read(cmd)[/.*^(ruby_\d+_\d+)$/m, 1])
end