Skip to content

Commit d1540c1

Browse files
authored
Fix git-lfs not actually running git lfs install (#1381)
* add git lfs install * update minor version
1 parent 3442a4e commit d1540c1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/git-lfs/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "git-lfs",
3-
"version": "1.2.4",
3+
"version": "1.2.5",
44
"name": "Git Large File Support (LFS)",
55
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/git-lfs",
66
"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 @@
4040
"installsAfter": [
4141
"ghcr.io/devcontainers/features/common-utils"
4242
]
43-
}
43+
}

src/git-lfs/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ if ! git lfs ls-files > /dev/null 2>&1; then
270270
echo "(!) Skipping automatic 'git lfs pull' because no git lfs files were detected"
271271
exit 0
272272
fi
273-
273+
git lfs install
274274
git lfs pull
275275
EOF
276276

0 commit comments

Comments
 (0)