Skip to content

pygit2 breaking change in v1.15.0 #108

@2bndy5

Description

@2bndy5

According to the pygit2 changelog for v1.15.0, the attribute oid no longer exists for Commit objects. It instead recommends using the id attribute.

What does this affect?

Currently, our production code is unaffected. However, 1 of our unit tests used Commit.oid to detach the head of a checked out repo:

repo.set_head(commit.oid) # detach head

So, I'm not concerned with the current release used by cpp-linter-action. ☺️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions