hooks/pre-receive: support GIT_QUARANTINE_PATH
commitb48c5710cc4e03ec8dc3ab2c7cefe7e910ed5b45
authorKyle J. McKay <mackyle@gmail.com>
Sat, 3 Dec 2016 21:22:16 +0000 (3 13:22 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Sat, 3 Dec 2016 21:22:16 +0000 (3 13:22 -0800)
tree222ab0ad0aec99a9dcffa48c61060efed39e4efb
parentf1d18f903fc2ce178b3cf28862f9a956f79897df
hooks/pre-receive: support GIT_QUARANTINE_PATH

Starting with Git v2.11.0 incoming packs and objects are temporarily
stored in $GIT_QUARANTINE_PATH while the pre-receive hook is running.

The pre-receive hook needs to be aware of this to do its thing.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
hooks/pre-receive