On Sun, Jul 16, 2017 at 6:04 AM, Philip Oakley <philipoakley@xxxxxxx> wrote: > > If I understand this correctly, the new type is the 'starts_with(buf, "repo:"))'. > > It just wasn't obvious from the text that the new type is "repo:" as you > never spell it out in the commit message. Should it be included in the > message? > > Have I understood correctly? Yes, you understood correctly. The idea is to allow submodules to "borrow" its refs from the superproject. My original idea was to only borrow HEAD from the superproject, but this can be extended to more branches. By having a more generic way of borrowing refs from another repo, this can also be a different repo than the superproject (I don't know the use case for this yet, but let's not have a to specific proposal). Let's see how this RFC fares in further interest from the community.