Method: Overcommit::HookContext::PrepareCommitMsg#lock
- Defined in:
- lib/overcommit/hook_context/prepare_commit_msg.rb
#lock ⇒ Object
Lock for the pre_commit_message file. Should be shared by all prepare-commit-message hooks
30 31 32 |
# File 'lib/overcommit/hook_context/prepare_commit_msg.rb', line 30 def lock @lock ||= Monitor.new end |