Skip to content

Support SHA256 git object format #1505

Open
@AtmosphericIgnition

Description

@AtmosphericIgnition

Summary 💡

When trying to run Onefetch inside a git repo which uses the SHA256 object format, instead of the default SHA1, it immediately errors out:

Error: Failed to load the git configuration

Caused by:
    The key "extensions.objectFormat=sha256" was invalid

Motivation 🔦

While the SHA256 object format is not yet used by default, it will eventually be set as the default by upstream git.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions