Open rogsme opened 5 days ago
Thank you for your feedback. The magit-gptcommit-commit-accept
function clears and saves the existing commit message from COMMIT_EDITMSG to log-edit-comment-ring
. This behavior results in your prepare-commit-msg
being cleared. You can then cycle through them using M-p
and M-n
. It is a bit challenging to distinguish whether the existing commit message in COMMIT_EDITMSG comes from prepare-commit-msg
or if it's a message that was being edited.
Hey! First of all, thank you for this amazing plugin!
I have one issue with it though: How can it be configured to respect my prepare-commit-msg hook? My hook prepends the commit message with a ticket number, like this:
However, gptcommit overrides this behavior, and now I have to manually add the ticket number to the commit message. It's not a big deal, but it would be a nice improvement!