aboutsummaryrefslogtreecommitdiff
path: root/receivepack
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-23 05:17:52 +0000
committerGravatar Runxi Yu2026-03-23 05:17:52 +0000
commitc8dd7d3b44c93a664dddc0c4619d336c6e13d2a8 (patch)
tree335e4d701cf122a77cf5b4c94f9f528242a7d566 /receivepack
parentVendor a minimal internal/cpu for AMD64 only (diff)
signatureNo signature
*: Lints
Diffstat (limited to 'receivepack')
-rw-r--r--receivepack/service/run_hook.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/receivepack/service/run_hook.go b/receivepack/service/run_hook.go
index 1ab76599..2689edf2 100644
--- a/receivepack/service/run_hook.go
+++ b/receivepack/service/run_hook.go
@@ -48,6 +48,7 @@ func (service *Service) runHook(
err error
)
+ //nolint:nestif
if quarantineName != "" {
quarantineLooseRoot, err = service.opts.ObjectsRoot.OpenRoot(quarantineName)
if err != nil {