Re: [RFC] git worktree: use filesystem cloning where supported
"brian m. carlson" <[email protected]>
| Newsgroups | org.kernel.vger.git |
|---|---|
| Message-ID | <[email protected]> |
On 2026-08-14 at 13:29:26, Peter Morris wrote: > 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. ReFS has serious defects in its implementation. If the data has been written but not flushed to disk, the resulting copy will be corrupt. I just saw this come in with Git LFS[0] and I described it to a colleague as "horribly broken". I definitely don't recommend adding support for this to Git until only fixed versions of Windows are publicly available. [0] https://github.com/git-lfs/git-lfs/issues/6312 -- brian m. carlson (they/them) Toronto, Ontario, CA
signature.asc
(application/pgp-signature, 325 B)
-----BEGIN PGP SIGNATURE----- wr0EABYKAG8FgmqAeKUJEHwMSWKIh6KBRxQAAAAAAB4AIHNhbHRAbm90YXRpb25z LnNlcXVvaWEtcGdwLm9yZ5q99Jq4CxuATtRrHKu2m43uK01m/h4rrRjbxL0ehDA5 FiEECCzmip28ZfuD0cORfAxJYoiHooEAAIf6AQCZR6ouTUUMTNjMADZxZQqrk0dn Hfj1VtP2ToHSiHvm+AD/dBQrBY+tSQO0WnPNivGlCsq2nO6tRsj2gX/FhynHswY= =BGPj -----END PGP SIGNATURE-----