Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Even then, you can actually use multiple external worktrees, saving on the .git folder (or at least any significant size contributions of it).


I don't think git uses copy_file_range yet (at least I can't find it looking through its source), so it'll make expensive copies for each worktree.

And he said even deleting the diffs in an overlay is too expensive, which normally should be cheaper than deleting a worktree.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: