-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
issue/staletype/refactoringExisting code has been cleaned up. There should be no new functionality.Existing code has been cleaned up. There should be no new functionality.
Description
- Gitea version (or commit ref): master
Description
Line 979 in 3e166bd
fmt.Sprintf("#!/usr/bin/env %s\n\"%s\" hook --config='%s' update $1 $2 $3\n", setting.ScriptType, setting.AppPath, setting.CustomConf), |
creates update hooks however gitea does not use this hook and the equivalent hook is essentially empty except for reading the settings file.
This would be of little consequence, except update is run for every reference and this means the settings are read for every reference! This means that pushes that involve a large number of references are unnecessarily slowed.
Metadata
Metadata
Assignees
Labels
issue/staletype/refactoringExisting code has been cleaned up. There should be no new functionality.Existing code has been cleaned up. There should be no new functionality.