This reverts commit 815abad84c. Redundant with: Always write proc-receive hook for all git versions (#29287)
815abad84c
- The hook regeneration code relies on `git.SupportProcReceive` being set to determine if the `proc-receive` hook should be written, this variable is set when the git module is initialized. - Resolves #2414
gitea admin
As title. Probably it's better to put those sub cmd to different dirs. Will do that in the future.