]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commit
Pass some git environment variables to the test-receive hook
authorSimon McVittie <smcv@debian.org>
Sun, 1 Oct 2017 12:16:03 +0000 (13:16 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 1 Oct 2017 12:21:56 +0000 (13:21 +0100)
commit6fb43c29f63b85c3424520819427903e5a204426
tree2270e40151a12555f63d98360654a520aa02c4fd
parentcf7df018ccf5513b79bcfe0b108e348b6da341c1
Pass some git environment variables to the test-receive hook

Since git 2.11, git has stored the proposed push in a "quarantine
area" until it is accepted by the pre-receive hook, and passed
extra environment variables to the pre-receive hook so that it can
read objects from the quarantine area.

This fixes untrusted push on modern git versions.

Signed-off-by: Simon McVittie <smcv@debian.org>
IkiWiki/Wrapper.pm