4 ms·
Even then, you can actually use multiple external worktrees, saving on the .git folder (or at least any significant size contributions of it).
by namibj 7y ago
Even then, you can actually use multiple external worktrees, saving on the .git folder (or at least any significant size contributions of it).
- the8472 7y agoI 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.