Skip to content

git_error_last() should never return NULL #6618

@ethomson

Description

@ethomson

It's very frustrating to have to call git_error_last() and test to see if it's NULL before dereferencing. It should always return a non-NULL - either a static "no error" or a static "unknown error".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions