metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
#merge_error_message
Check that modules actually pass msftidy checks before committing or after merging. Simply symlink this script to your local .git/hooks/pre-commit script and your .git/hooks/post-merge scripts. Note the lack of a trailing .rb If you are in the top-level dir, the symlink commands would be: ln -sf ../../tools/dev/pre-commit-hook.rb .git/hooks/pre-commit ln -sf ../../tools/dev/pre-commit-hook.rb .git/hooks/post-merge That way, you will track changes to this script when it updates (rarely). If you'd prefer to copy it directly, that's okay, too (mark it +x and don't name it filename.rb, just filename).
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open tools/dev/pre-commit-hook.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs--merge_error_message-for-pr
# Commit to gitgit add tools/dev/pre-commit-hook.rbgit commit -m "better docs for #merge_error_message"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs--merge_error_message-for-pr
hub pull-request
# Celebrate!