Skip to content

Commit

Permalink
Git: Use better way to get the object by id
Browse files Browse the repository at this point in the history
Thanks to @Byron for pointing this out in dc505d9!

dc505d9#r150551932

Signed-off-by: 35V LG84 <[email protected]>
  • Loading branch information
35VLG84 committed Feb 19, 2025
1 parent a10ffc1 commit 6d1214d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tackler-core/src/parser/tackler_txns.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ pub fn git_to_txns(
Some(ref_str.clone())
};
// Peel it so that tags are ok
(repo.find_object(id)?.peel_to_commit()?, reference)
(id.object()?.peel_to_commit()?, reference)
}
};

Expand Down

0 comments on commit 6d1214d

Please sign in to comment.