improvement to pre-commit hook
- From
- Olegzandr von Denman (ORESoftware) <alex@oresoftware.com>
- Date
- May 19, 2019, 06:03 UTC
- Message-ID
- <CAMsBkhmt0Xxe7EHSXJjxeZa4-CmF8oVgJiTFo2uHQOMcyKfCvw@mail.gmail.com>
I was expected an env var like:
GIT_DESIRED_COMMIT_MESSAGE
to show up when .git/hooks/pre-commit is run
but as described here, there doesn't appear to be any args to the script and the environment variable isn't there?
https://stackoverflow.com/questions/56205170/retrieving-desired-git-commit-message-in-pre-commit-hook
-alex
-- Alexander Mills ORESoftware (inc.)