We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6f416d commit 622acceCopy full SHA for 622acce
bin/git-sync-check.rb
@@ -122,7 +122,7 @@ def self.check_consistency
122
# Automatically fix inconsistency if it's master or notes, but never sync random new branches.
123
['refs/heads/master', 'refs/notes/commits'].each do |ref|
124
if e.errors.key?(ref)
125
- remote_rev, local_rev = e.errors[ref]
+ remote_rev, local_rev = e.errors['refs/heads/master']
126
puts "Fixing inconsistency ref:#{ref.inspect} remote:#{remote_rev.inspect} local:#{local_rev.inspect}"
127
unless system('/home/git/git.ruby-lang.org/bin/update-ruby.sh', File.basename(ref))
128
raise "Failed to execute update-ruby.sh for #{ref}"
0 commit comments