Re: Pull a single file using git lfs

Andy Pont

Quentin wrote...

I unfortunately don't have experience with git lfs.
I'm thinking about the subpath argument to SRC_URI git fetcher.
Unfortunately, there are other files in the same directory that can’t be checked out. Looking at that documentation, I have added the “nocheckout=1” option to the git definition in SRC_URI which is stopping the initial pull.

When I try to add any git commands into a do_fetch_append() then it dumps a load of Python looking stuff on the screen that ends with:

  File "autogenerated", line 4
    git lfs checkout build/filename
SyntaxError: invalid syntax


Join to automatically receive all group messages.