Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amending a commit #227

Open
rmesser opened this issue Jun 1, 2023 · 0 comments
Open

amending a commit #227

rmesser opened this issue Jun 1, 2023 · 0 comments

Comments

@rmesser
Copy link

rmesser commented Jun 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant