What a fork's held reader's fetch does with have and shallow

A fork shares its parent's object store. A reader of a fork who may not read the parent (it became private) is held to what the fork's own refs reach (src/git/own_refs.ts): the want lines of a fetch, over HTTP and over ssh.

The have and shallow lines are held the same way, because git would ACK a have of an id the parent holds and die on a shallow that is a parent's tree or file, and that tells the reader which ids the parent has.

Readers of the parent are never held and see none of this.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs