gitaly: Use `#blank?` to check whether the hook env is populated
The check whether the hook env is active needs to check whether the hook env is set at all, and if it is, also whether it carries any values. This is currently done in two calls, but can be improved to simply use `#blank?`.
Showing
Please register or sign in to comment