lib/git_store.rb
# Finish the transaction.
#
# Release the lock file.
Finish the transaction.
Release the lock file.
Finish the transaction . Release the lock file .
def finish_transaction
    Thread.current['git_store_lock'].close rescue nil
    Thread.current['git_store_lock'] = nil
    File.unlink("#{head_path}.lock") rescue nil    
  end
def finish_transaction Thread . current [ 'git_store_lock' ] . close rescue nil Thread . current [ 'git_store_lock' ] = nil File . unlink ( "#{head_path}.lock" ) rescue nil end
Finish the transaction.
Finish the transaction .