enhancementhelp wanted
描述
carthage version: 0.20.1- Are you using
--use-submodules? Yes
Carthage doesn't handle repositories using git lfs on origin/HEAD. The general behavior is as follows:
- Carthage clones repository to cache. LFS successfully smudges.
- Carthage clones repository to Checkouts. Since remote is the cache, LFS smudge fails.
The failure happens before Carthage checks out the actually used branch.
Workaround: Create .lfsconfig as detailed in server discovery. This doesn't work well if you use SSH to access the repository.
Suggested fix:
Carthage could perform the equivalent of git clone --no-checkout initially, fix up the remote (which happens too late at the moment), then git checkout the resolved commit.