You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the neat package. I was looking for something just like this 👍🏻
I've just had a quick play (latest version) and I'm not sure if its PEBKAC or what, but despite a COMMIT_MSG buffer looking great, complete with generated content, a typical C-CC-c to commit in Magit is resulting in "Aborting commit due to empty commit message".
This is regardless of the way I have generated the message using magit-gptcommit.
If I override magit-gptcommit-commit-accept to add (save-buffer) at the end then it works but that feels heavyweight and that it might mess up some other stuff. I naively tried things like (set-buffer-modified-p t) instead but they didn't work.
Again, feels like a me problem but if you have time I'd appreciate some pointers on what to look for.
The text was updated successfully, but these errors were encountered:
I notice if I run the magitgpt-accept function again whilst in the COMMIT_EDITMSG buffer (so already after doing c then C from the magit-status transient menu) then it works. Would you expect the user to have to do it twice?
Thanks for the neat package. I was looking for something just like this 👍🏻
I've just had a quick play (latest version) and I'm not sure if its PEBKAC or what, but despite a
COMMIT_MSG
buffer looking great, complete with generated content, a typical C-CC-c to commit in Magit is resulting in "Aborting commit due to empty commit message".This is regardless of the way I have generated the message using
magit-gptcommit
.If I override
magit-gptcommit-commit-accept
to add(save-buffer)
at the end then it works but that feels heavyweight and that it might mess up some other stuff. I naively tried things like(set-buffer-modified-p t)
instead but they didn't work.Again, feels like a me problem but if you have time I'd appreciate some pointers on what to look for.
The text was updated successfully, but these errors were encountered: