I'm needing to bundle a git repo that we've been using git-lfs on but have run into an issue.
It will bundle up fine but when I come to clone it this error occurs
Downloading .../Dll's/DotNetZip.dll (458 KB) Error downloading object: .../Dll's/DotNetZip.dll (7dd20a2): Smudge error: Error downloading .../Dll's/DotNetZip.dll (7dd20a2291b05323bba04be4ae656d7635ae5e68a5a6fa2b9f86e27841846a31): batch request: missing protocol: "C:/...bundleName.bundle.git/info/lfs"
Errors logged to C:/.../.git\lfs\logs\20180831T093319.3979074.log Use
git lfs logs last
to view the log. error: external filter 'git-lfs filter-process' failed fatal: ../Dll's/DotNetZip.dll: smudge filter lfs failed warning: Clone succeeded, but checkout failed. You can inspect what was checked out with 'git status' and retry the checkout with 'git checkout -f HEAD'
I can't seem to find any documentation on how lfs should work with git bundle. All i really need for my lfs file is to store the latest version in the bundle but can't seem to find out where that could be either.
Got same error in Ubuntu-20.04.1-LTS which still come with an oldish git-lfs version 2.9.
The error is mentioned in github.com/git-lfs and a fix is in git-lfs 2.10 or newer (at this time latest version is 2.13.2) and to install it these steps should be followed (see also wiki):
sudo apt install curl
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs install
git clone git@bitbucket.org:project/repo.git --recursive
cd repo/
git lfs install
git checkout some_branch
The error disappeared after that.