Radish alpha
h
rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5
Radicle Heartwood Protocol & Stack
Radicle
Git
fetch: allow fetch of annotated tags
Merged fintohaps opened 2 years ago

If an ancestry check of an annotated tag was triggered then the fetch from that peer would fail. This is due to graph_ahead_behind only working for commit-ish objects.

To allow for annotated tags, and other object that peel to commits, the check now peels the two objects to commits before getting their Oids. The call to graph_ahead_behind can take these two Oids instead.

A test for annotated tags is included as part of the examples/git suite in the CLI tests.

fintohaps opened with revision d528d439 on base b0fbbeed +154 -10 2 years ago

If an ancestry check of an annotated tag was triggered then the fetch from that peer would fail. This is due to graph_ahead_behind only working for commit-ish objects.

To allow for annotated tags, and other object that peel to commits, the check now peels the two objects to commits before getting their Oids. The call to graph_ahead_behind can take these two Oids instead.

A test for annotated tags is included as part of the examples/git suite in the CLI tests.

did:key:z6MksFqX...wzpT pushed revision 2 70955eac on base d1e2e3b6 +164 -32 2 years ago

Rebase.

did:key:z6MksFqX...wzpT merged revision 70955eac at 87d1cb50 2 years ago