summaryrefslogtreecommitdiff
path: root/server/src/main.rs
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-01-26 23:55:50 +0100
committerJoel Klinghed <the_jk@spawned.biz>2025-01-26 23:55:50 +0100
commitd1647b7a056f04ad5828976dd5a7e2e06b431feb (patch)
tree11a4e1ad3f40bf653b7971bd40e54568f507ffb5 /server/src/main.rs
parent4fe3e610d5697aca4dfdc1033261130ec2b431ee (diff)
Stop using current user in git hooks
Want to support any authentication for the git server, so use git commiter as username for creating reviews instead of the local user that logged in to git. Also verify that pushed commits has a valid author in pre-receive. This is tricky as pre-receive must do this check in the hook, because pre-receive runs when before the objects are pushed so the server can't read the commits, the hook must do this.
Diffstat (limited to 'server/src/main.rs')
0 files changed, 0 insertions, 0 deletions