Skip to content

feat: avoid dependency on git binary #13501

Description

@beeb

Component

Forge

Describe the feature you would like

Forge uses the git CLI for many operations, so does Soldeer (which is used in the forge soldeer subcommand).

Would it be acceptable to start rewriting the operations that depend on git to use the gix library?

This would avoid potential inconsistencies when it comes to the git version installed by the user, and would avoid the overhead of spawning a new process. Also, it reduces the potential for errors when parsing the output of the git command.

I could start by rewriting Soldeer to use gix as a proof-of-concept, if the additional dependency is acceptable.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions