This should be the final piece to get git-lfs working in production.
- Maniphest Tasks
- T180627: Support git-lfs in scap
demon thcipriani awight
- Group Reviewers
- rMSCAf8ecbd12a5c6: do `git lfs install` before `git lfs pull`
- Patch without arc
- git checkout -b D1039 && curl -L https://phabricator.wikimedia.org/D1039?download=true | git apply
it works, trust me?
I confirmed that this will *not* work as we hope. If git lfs install is executed before the initial clone, then LFS files are fetched during the initial clone. git lfs pull is normally only used if the initial clone is done with --skip-smudge enabled (see https://github.com/git-lfs/git-lfs/wiki/Installation). Calling git lfs install after the repo is already cloned doesn't actually cause the right stuff to happen.
This is the correct workflow:
- git lfs install
- git clone REPO
- cd REPO
- git submodule update -i