setting up a depot clone for contribution is tedious

#446
Opened by thk at 2025-06-14T15·34+00

There are at least two steps:

and while I'm at it, I'd create a commit msg template[1] that remembers me how to create a commit msg[2] for depot.

[1] see "commit.template" config var in man git-commit [2] https://code.tvl.fyi/about/docs/CONTRIBUTING.md#commit-messages

Distributing git config together with a project is a security risk and therefor git does not provide any means for it. OTOH emacs has a mechanism to ask the user whether they trust config settings from a a file or dir.

Depot users who configure their machines from depot trust the depot, so it'd be less an issue for them.

There are git hook managers but I've not found a git config manager.

One trick is to have an include.path = ../gitconfig in .git/config which means you must trust the repo.