From 16e5ad93a56d9d5aae69169a8d1428e6b901cf8b Mon Sep 17 00:00:00 2001 From: Arun Sekhar Date: Fri, 29 May 2026 16:29:19 -0700 Subject: [PATCH] Dev container: add git-lfs feature to silence post-checkout warning Codespaces hosts run 'git lfs install --system', which seeds a post-checkout hook into every clone. The python:3.13-bookworm image used by our dev container doesn't ship git-lfs, so every 'git checkout / switch / restore' prints 'This repository is configured for Git LFS but git-lfs was not found on your path.' The repo itself doesn't use LFS, so the warning is cosmetic, but it fires on every git operation and looks like a real failure to new users. Adding the git-lfs dev container feature makes the binary available and the hook becomes a silent no-op. --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 71e9dfd..0fb3fcb 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,8 @@ "image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm", "features": { "ghcr.io/devcontainers/features/azure-cli:1.2.5": {}, - "ghcr.io/azure/azure-dev/azd:latest": {} + "ghcr.io/azure/azure-dev/azd:latest": {}, + "ghcr.io/devcontainers/features/git-lfs:1": {} }, "customizations": { "vscode": {