Question

There is a org.eclipse.jgit.transport.OperationResult#getAdvertisedRefs in jgit. The term seems to be not specific to jgit but I can't find any precise description of the advertised refs.

Best regards, Eugene.

Was it helpful?

Solution

From Transfer Protocols - Downloading Data:

At this point, the fetch-pack process looks at what objects it has and responds with the objects that it needs by sending "want" and then the SHA it wants. It sends all the objects it already has with "have" and then the SHA.

During a fetch, the server can list references that it has and that the client may wish to fetch. These are the advertised references.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top