Does smart-http need git-daemon-export-ok?
- From
- Tarmigan <tarmigan+git@gmail.com>
- Date
- Dec 26, 2009, 16:21 UTC
- Message-ID
- <905315640912260821k2fb149b3je69dbea5463afaa3@mail.gmail.com>
Hi all,
Should the git-http-backend check something like git-daemon-export-ok before serving a repository? It would have been better to discuss this a month or two ago, but it's probably not too late since smart-http is still so new in released versions.
I think it's very similar to git-daemon which requires that to be set, and I think the same arguments could be made for the same kind of check. There are already parallels for the upload-pack and receive-pack services between the two.
Just as git-daemon may be invoked with --export-all, for git-http-backend we could have an environmental variable to export all repositories.
Thoughts?
Thanks, Tarmigan