Skip to content

amending a commit #227

@rmesser

Description

@rmesser

I am trying to use this module to modify an existing commit message. But Git::Raw::Commit::amend runs a bit of perl code that calls Git::Raw::Commit -> create, which creates a new commit. There is no binding in xs/Commit.xs to the C function git_commit_amend. Therefore I don't see how it is possible to quickly modify the message of an existing commit.

It would be nice if this binding were available. Or maybe the Git::Raw::Commit::message function could take an optional input, and if present it would update the commit's message.

Thanks for considering this request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions