From 0d87650ee4d8ff36e345cd6afd47c1a43019c321 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sun, 15 Nov 2026 15:46:43 +0100 Subject: [PATCH] fixup! Install updates without asking if update.method is "background" Describe update.method "never" the way it works now: lazygit still checks for updates and shows the note, but doesn't remind the user. Co-Authored-By: Claude Opus 5.5 --- docs-master/Config.md | 4 ++-- pkg/config/user_config.go | 2 +- schema-master/config.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs-master/Config.md b/docs-master/Config.md index 460bef496..cfc246454 100644 --- a/docs-master/Config.md +++ b/docs-master/Config.md @@ -591,8 +591,8 @@ update: # 'prompt': check for updates regularly, and remind you when there is one. # 'background': like 'prompt', but if lazygit was installed from one of our # release archives, install updates without asking. - # 'never': don't check for updates. You can still check with `u` in the status - # panel. + # 'never': check for updates, and show a note in the bottom-right corner when + # there is one, but don't remind you of it. method: prompt # Period in days between update checks diff --git a/pkg/config/user_config.go b/pkg/config/user_config.go index 9362a7554..4335c3a2f 100644 --- a/pkg/config/user_config.go +++ b/pkg/config/user_config.go @@ -461,7 +461,7 @@ type UpdateConfig struct { // One of: 'prompt' (default) | 'background' | 'never' // 'prompt': check for updates regularly, and remind you when there is one. // 'background': like 'prompt', but if lazygit was installed from one of our release archives, install updates without asking. - // 'never': don't check for updates. You can still check with `u` in the status panel. + // 'never': check for updates, and show a note in the bottom-right corner when there is one, but don't remind you of it. Method string `yaml:"method" jsonschema:"enum=prompt,enum=background,enum=never"` // Period in days between update checks Days int64 `yaml:"days" jsonschema:"minimum=0"` diff --git a/schema-master/config.json b/schema-master/config.json index ed339d53a..9c8281266 100644 --- a/schema-master/config.json +++ b/schema-master/config.json @@ -4138,7 +4138,7 @@ "background", "never" ], - "description": "One of: 'prompt' (default) | 'background' | 'never'\n'prompt': check for updates regularly, and remind you when there is one.\n'background': like 'prompt', but if lazygit was installed from one of our release archives, install updates without asking.\n'never': don't check for updates. You can still check with `u` in the status panel.", + "description": "One of: 'prompt' (default) | 'background' | 'never'\n'prompt': check for updates regularly, and remind you when there is one.\n'background': like 'prompt', but if lazygit was installed from one of our release archives, install updates without asking.\n'never': check for updates, and show a note in the bottom-right corner when there is one, but don't remind you of it.", "default": "prompt" }, "days": {