Re: [RFC] git worktree: use filesystem cloning where supported
Peter Morris <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <CAOqWQb+XY_u2OUNnBJ9GBGBz8B73ocHWp+V1tDBS-4a5-OviYA@mail.gmail.com> |
The PR says it only supports Linux and macOS, but ReFS is available on Windows too. I believe that if the source and destination are on the same ReFS volume the Windows CopyFile API will use block cloning automatically, so if CopyFile were used we would get this for free on Windows Dev Drives. > [snip] > Kristoffer Haugsbakk said: > https://lore.kernel.org/git/[email protected]/