I'm writing a post-receive hook and looking to dynamically set the repo location to a variable.
The post-receive hook is located in: /git/hub/poc.git/hooks/ The repo location is: /git/prime/poc
Is there anyway I can determine the repo location in post-receive on the fly? (prefer not to chop up the post-receive pwd and "guess" at it)