Hello, I was just curious. I am developing a script that involves both a
pre-commit hook and a post commit hook.

The post-commit hook opens a file, reads a file, and saves a file. I was
wondering, do I need to set up a lock-file system to ensure that 2 people
committing at the same time will not cause a problem in the file writing
process? Or do the commit hooks run asynchronously?

Reply via email to