News for hackers. Stuff that matters.
Re:The Future of Large Files in Git Is Git by actinium226 on Saturday August 16, 2025 @06:31PM (#44927396)
OK, and your main complaint was that it added .gitattributes to all previous commits? What if someone were to go back and add a .bin to the earlier commits, you would still want it in LFS, right? I'm not sure what "cross referencing to the current commit" would mean in that case. I don't see why you would want to use the .gitattributes from a different branch, like main or something. It seems very un-git-like for an operation to reference another branch without being explicitly told to do so.

But anyway, yes, LFS rewrites history if you want to apply it to history. I agree it's sub-par; it's disruptive and risks breaking links to specific githashes.

Re:The Future of Large Files in Git Is Git by rcxdude on Monday August 18, 2025 @07:02AM (#44939319)
The issue is the migration is unlike starting to use it on a repo, because the metadata propagates 'backwards in time' instead of reflecting what is actually in the repo at that commit.