diable_git_lfs:true does not prevent the lfs files being fetched
git repo could be set in a way that git clone automatically fetches the lfs files. The diable_git_lfs flag should be made to prevent this in every situation.
The tile has the property misspelled diable_git_lfs when it should be disable_git_lfs.
That being said, the default installation of git-lfs has the smudge disabled, which the documentation says will not automatically pull down blobs on a git pull.
I was only looking into this because I am trying to add it to the PR resource.
@jtarchie *title 😉
There's a flag for GIT_LFS_SKIP_SMUDGE=1 that can be set before cloning to skip downloading them. I think part of the confusion of this flag is the naming; it isn't clear exactly what about git lfs is being "disabled"
Hi.
I had the same problem, because I didn't place the flag into the right spot.
Following worked for me:
- get: source-code
params:
disable_git_lfs: true