aboutsummaryrefslogtreecommitdiff
path: root/internal/conf/static.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/conf/static.go')
-rw-r--r--internal/conf/static.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/conf/static.go b/internal/conf/static.go
index acd91fc2..351cbdd4 100644
--- a/internal/conf/static.go
+++ b/internal/conf/static.go
@@ -492,6 +492,8 @@ func handleDeprecated() {
// HookMode indicates whether program starts as Git server-side hook callback.
// All operations should be done synchronously to prevent program exits before finishing.
+//
+// ⚠️ WARNING: Should only be set by "internal/cmd/serv.go".
var HookMode bool
// Indicates which database backend is currently being used.