Closed JoosuaKoskinen closed 4 years ago
Probably due to removal of the GIT_DIR
in this commit
https://github.com/Seravo/wordpress/commit/e59b4f082e962ee33da2c2bb4979929d03dbc782#diff-8023fc70ccc637626d348363aec8ae0dL22
Using GIT_DIR
indeed fixes it.
Can you @JoosuaKoskinen fix this and document properly GIT_DIR so nobody in the future removes it thinking it has no purpose (as on local runs it has no purpose, there is only the remote push use case I think?)
A customer noticed the following error while pushing to production after installing the post-receive hook: