Fintan Halpenny
87d1cb50a0
fetch: allow fetch of annotated tags
...
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
`Oid`s. The call to `graph_ahead_behind` can take these two `Oid`s
instead.
A test for annotated tags is included as part of the `examples/git`
suite in the CLI tests.
Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com >
X-Clacks-Overhead: GNU Terry Pratchett
2024-03-11 11:13:26 +01:00
..
2023-08-04 12:23:49 +02:00
2024-03-11 11:13:26 +01:00
2024-02-23 12:31:13 +01:00
2024-01-31 14:07:28 +01:00
2024-03-09 14:01:30 +01:00
2023-04-24 15:42:00 +02:00
2023-04-24 15:42:00 +02:00
2023-04-24 15:42:00 +02:00
2023-11-30 10:48:14 +01:00
2024-01-22 21:18:54 +01:00
2024-01-26 15:22:10 +01:00
2024-01-22 21:18:54 +01:00
2023-12-06 10:00:45 +01:00
2024-03-11 10:46:09 +01:00
2024-02-23 12:31:13 +01:00
2024-03-08 23:24:34 +01:00
2023-11-09 13:04:40 +01:00
2023-12-06 09:56:57 +01:00
2024-01-22 21:18:54 +01:00
2024-01-22 21:18:54 +01:00
2023-11-09 16:43:34 +01:00
2023-12-13 12:14:06 +01:00
2024-01-22 21:20:01 +01:00
2024-02-23 12:31:13 +01:00
2023-09-03 17:21:39 +02:00
2024-01-22 21:18:54 +01:00
2024-01-03 14:07:19 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2024-02-26 12:40:17 +01:00
2023-12-13 12:30:11 +01:00
2023-11-17 16:56:20 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-03-09 14:01:30 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-03-08 23:43:19 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-01-02 15:04:49 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-26 12:40:17 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2024-02-23 12:31:13 +01:00
2023-09-05 11:16:09 +02:00
2024-02-23 12:31:13 +01:00
2024-01-08 17:28:01 +01:00
2024-02-23 12:31:13 +01:00
2024-03-09 14:01:30 +01:00
2024-02-26 14:23:13 +01:00
2023-12-06 09:56:57 +01:00
2024-02-23 12:31:13 +01:00
2024-03-11 10:46:09 +01:00
2023-12-11 12:04:26 +01:00