feat: Add git-lfs support for ignoring files under its control #2792
adamhill
started this conversation in
Feature Requests
Replies: 1 comment
-
Just to be clear, these files won't be listed here?: https://github.com/RooVetGit/Roo-Code/blob/main/src/services/checkpoints/excludes.ts#L186 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
TL;DR;
We need to ignore large binary files being managed by git-lfs returned by the command
git lfs ls-files -n
. We also might need to strongly suggest the user turn off checkpoint if this list is collectively large.There is an extension for handling large binary files in git called
git-lfs
. It lets them be stored in git, but not versioned (or versioned with very specific rules) Roo does not know about this and happily gobbles up these files for no gain.Sometimes they will live in the same directory like
Assets/
but sometimes they are scattered throughout the repo..rooignore
can handle a lot of the cases, but when it can't it would be nice if we could automatically ask git-lfs for the file list. It has the capability - git-lfs/git-lfs#5313The command is
git lfs ls-files -n
we actual have one tracked in the roo-code repo -assets/docs/demo.gif
We have already had one user bitten by this with an Unreal project in VSC - See this support ticket
Fix:
Get that list when we read the
.{roo|git|ignore
files and ignore them. Turn off ourselves or strongly suggest the user disable checkpoints.Beta Was this translation helpful? Give feedback.
All reactions