git-update-server-info

How do I clone over HTTP a repository that has no info/refs?

Given a repository served over HTTP whose owner forgot to chmod +x hooks/post-update, is there a workaround for cloning it? I tried running wget --mirror url, but rather than fetching the subtree only, it tried to mirror the entire site—which I assume happened due to the parent-directory links in the autogenerated index.html resources. ...

git-update-server-info not sufficient to clone remote repo?

I'd like to make a git repository available over a Nginx HTTPS server. I've set the post-commit hook to run git-update-server-info in order to update the refs for the "dumb" backend. Pulling updates over the HTTPS interface works fine, however, when initially checking out the repository it fails with: [test@test ttt]$ git clone https:...