Git push over HTTP não ativa ganchos remotos

Na minha caixa remota, eu inicializei um repositório bare git. No diretório hooks, inicializei os hooks pós-recebimento, pós-atualização e atualização com o seguinte script:

#!/bin/bash
echo $0 $@ >> /tmp/githooks.log

Na minha caixa local, clonei o repositório, adicionei um arquivo de teste, confirmei e enviei a alteração de volta para a caixa remota.

$ git clone https://remote/git/sandbox.git sandbox
$ cd sandbox
$ touch asdf
$ git add asdf
$ git commit -a
[master (root-commit) 37505de] zxcv
 0 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 asdf
$ git push origin master
Fetching remote heads...
  refs/
  refs/heads/
  refs/tags/
updating 'refs/heads/master'
  from 0000000000000000000000000000000000000000
  to   37505de9c22b0aee84e0071190f4f58728770675
    sending 3 objects
    done
Updating remote server info
To https://remote/git/sandbox.git
 * [new branch]      master -> master

No entanto, /tmp/githooks.log está vazio na máquina remota. Se, no entanto, eu clonar o repositório enquanto estiver na máquina remota, os ganchos serão chamados com êxito.

Os ganchos do git não funcionam com o http-push?

questionAnswers(1)

yourAnswerToTheQuestion