|
|
Log in / Subscribe / Register

Will mirroring still work with the promisors?

Will mirroring still work with the promisors?

Posted Feb 15, 2026 14:45 UTC (Sun) by gray_-_wolf (subscriber, #131074)
Parent article: Evolving Git for the next decade

I like that you can clone a repository with --mirror, and have a full back up that you know contains everything. Will something like that still be possible with the promisors? Or will you clone with --mirror, try to checkout a reference few years later and see that the offload to CDN is 404? Does anyone know what will the UX be here?


to post comments

Will mirroring still work with the promisors?

Posted Feb 17, 2026 14:25 UTC (Tue) by mathstuf (subscriber, #69389) [Link]

I imagine `--mirror` (the flag) would realize all objects. I would expect a manual refspec of `+refs/*:refs/*` to observe promisors. But this may require a configuration file change to indicate the desire to locally realize all objects (that `--mirror` then uses). Not sure what this means for existing `--mirror` clones that lack the flag.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds