Closed kr closed 8 years ago
PTAL
Regarding our out-of-band conversation: I found a few ways we can get the vendor log into a commit message. They are:
Tell users to use git commit -F vendor-commit-message
- This seems to be the simplest way but users have to remember to include the vendor log in their messages. They could also :r vendor-log
today from vim or their editors equivalent when writing the commit message.
Install a .git/hooks/prepare-commit-msg hook - This would be ideal to use in combination with vendor-log
because it can append the log automatically if ./vendor has been updated.
Thoughts?
PTAL