Add custom pre-receive hook example which accesses custom attributes
Problem to solve
I would like to access custom (project / user) attributes from within a custom pre-receive hook. Is this possible? Can you please add an example for this?
Further details
Use case: Configuration of pre-receive hook behaviour depending on who is pushing and to which repository.