lib/test_ids/git.rb in test_ids-0.4.0 vs lib/test_ids/git.rb in test_ids-0.4.1
- old
+ new
@@ -86,10 +86,10 @@
def available_to_lock?
result = false
Origen.profile 'Checking for lock' do
repo.fetch
- repo.reset_hard
+ repo.reset_hard('origin/master')
if lock_content && lock_user && lock_user != User.current.name
result = Time.now.to_f > lock_expires
else
result = true
end