News for hackers. Stuff that matters.
Re:The Future of Large Files in Git Is Git by matheusmoreira on Sunday August 17, 2025 @02:04PM (#44933558)
Makes sense to me, thank you. It's just something I tried to do once. I didn't think very hard about it so it felt like an arbitrary limitation.

What I tried to do was have two copies of the same branch checked out to a different directory: one pristine, another with uncommitted changes. The idea was to run make on both directories, profile the results and then decide whether to commit or discard the changes. Now I see the solution is to just make another branch.

Re:The Future of Large Files in Git Is Git by 1718627440 on Sunday August 17, 2025 @02:31PM (#44933773)
Yeah in this case I wouldn't probably even bother with branches and only checkout the commit. Another way to solve this problem are of course VPATH-builds.