Re: improvement to pre-commit hook

2019-05-20 Thread brian m. carlson
On 2019-05-19 at 06:03:11, Olegzandr von Denman (ORESoftware) wrote: > 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

improvement to pre-commit hook

2019-05-19 Thread Olegzandr von Denman (ORESoftware)
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-m