lib/overcommit/hook_context/commit_msg.rb
# Updates the commit message to the specified text.
Updates the commit message to the specified text.
Updates the commit message to the specified text .
def update_commit_message(message)
      ::File.open(commit_message_file, 'w') do |file|
        file.write(message)
      end
    end
def update_commit_message ( message ) :: File . open ( commit_message_file , 'w' ) do | file | file . write ( message ) end end
Updates the commit message to the specified text.
Updates the commit message to the specified text .
message
<not_specific>