diff --git a/src/git-lfs/devcontainer-feature.json b/src/git-lfs/devcontainer-feature.json index 03acfcbbf..fe23e02cf 100644 --- a/src/git-lfs/devcontainer-feature.json +++ b/src/git-lfs/devcontainer-feature.json @@ -1,6 +1,6 @@ { "id": "git-lfs", - "version": "1.2.4", + "version": "1.2.5", "name": "Git Large File Support (LFS)", "documentationURL": "https://github.com/devcontainers/features/tree/main/src/git-lfs", "description": "Installs Git Large File Support (Git LFS) along with needed dependencies. Useful for base Dockerfiles that often are missing required install dependencies like git and curl.", @@ -40,4 +40,4 @@ "installsAfter": [ "ghcr.io/devcontainers/features/common-utils" ] -} +} \ No newline at end of file diff --git a/src/git-lfs/install.sh b/src/git-lfs/install.sh index 554f42bbe..71066c7b3 100755 --- a/src/git-lfs/install.sh +++ b/src/git-lfs/install.sh @@ -270,7 +270,7 @@ if ! git lfs ls-files > /dev/null 2>&1; then echo "(!) Skipping automatic 'git lfs pull' because no git lfs files were detected" exit 0 fi - +git lfs install git lfs pull EOF