b3fb3342ee35c2f5ac8bb9221afe0ab21a78e259
The install_hook function now writes both pre-commit and prepare-commit-msg hooks, passing the hook mode as an argument to the script. The HOOK_PATH constant is replaced with separate paths for each hook, and a TEMP_MSG_FILE constant is introduced for generated commit message storage.
Examples / research
This is a collection of source code examples and research that I share with others online. Not all is written by me. It's also used for just sharing resources on discussion forums. The contents are mainly destined to be read by a software developer.
Do you see something you want to know more about? Contact retoor@molodetz.nl.
Languages
Python
86.7%
C
8.7%
HTML
2.8%
JavaScript
1.5%
Shell
0.3%