We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 119f653 commit 2444b8bCopy full SHA for 2444b8b
bin/git-sync-check.rb
@@ -116,7 +116,8 @@ def self.check_consistency
116
rescue GitSyncCheck::Errors => e
117
attempts -= 1
118
if attempts > 0
119
- errors.each_key do |ref| # try fixing each ref automatically
+ errors.each do |ref, (remote_rev, local_rev)|
120
+ puts "Fixing inconsistency ref:#{ref.inspect} remote:#{remote_rev.inspect} local:#{local_rev.inspect}"
121
unless system('/home/git/ruby-commit-hook/bin/update-ruby.sh', File.basename(ref))
122
raise "Failed to execute update-ruby.sh for #{ref}"
123
end
0 commit comments