jenkinsci / jenkinsci/git-plugin
[JENKINS-43427] git-plugin with both LFS and Sparse checkout behaviour pulls too many files
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
Pipeline build using checkout with a git repo, both sparse checkout and LFS behaviours enabled.
The git lfs pull stage pulls ALL files, it should honor the sparse behaviour configured. This should probably be done by setting git config lfs.fetchinclude 'pathsToInclude'
---
Originally reported by beyerj, imported from: git-plugin with both LFS and Sparse checkout behaviour pulls too many files
Raw content of original issue
Pipeline build using checkout with a git repo, both sparse checkout and LFS behaviours enabled.
The git lfs pull stage pulls ALL files, it should honor the sparse behaviour configured. This should probably be done by setting git config lfs.fetchinclude 'pathsToInclude'
Contributor guide
Assessment
This issue has not been assessed yet.