radicle-heartwood-lfs/radicle/src
Vincenzo Palazzo b29321dbf7
cob: Fix recursion bug in TryFrom of Reference
This commit addresses the issue of recursion in the TryFrom
call of Reference by resolving the parent in a lazy way.

Due to constraints posed by the need to access `git2::Repository`
or `git2::Commit` to resolve the parent, this commit decides to
pull out the parent resolution logic from the `cob::object::Commit`
module and move it inside the `cob::store::Store` implementation by adding
a new method `parents_of`.

Suggested-by: Fintan Halpenny <fintan.halpenny@gmail.com>
Tested-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-05-09 10:11:36 +02:00
..
canonical radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
identity radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
node node: Implement `rad sync` command 2023-04-24 11:39:37 +02:00
storage cob: Fix recursion bug in TryFrom of Reference 2023-05-09 10:11:36 +02:00
test radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
canonical.rs radicle: custom CanonicalFormatter 2023-02-24 11:59:36 +01:00
cob.rs cob: Use `EntryId` as the operation identifier 2023-03-09 17:08:56 +01:00
collections.rs Split repository into two creates 2022-09-21 15:11:17 +02:00
git.rs radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
identity.rs cob: Don't require a local fork to exist 2023-03-01 15:40:30 +01:00
lib.rs radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
node.rs node: Implement `rad sync` command 2023-04-24 11:39:37 +02:00
profile.rs cli: Remove `rad fetch` command 2023-04-24 14:19:31 +02:00
rad.rs cli: remove the 'rad' remote during `rad rm` 2023-05-08 10:49:18 +02:00
serde_ext.rs node: Use JSON for control commands 2023-02-07 10:46:12 +01:00
sql.rs node: Keep track of connection attempts 2023-05-05 17:23:52 +02:00
storage.rs radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00
test.rs radicle: update radicle-git-ext 2023-05-08 10:36:15 +01:00