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
I'm trying to create a hook for generating commit messages based on my staged files. Is there a way to provide the git diff output as a context to the agent?
I've tried to use vim.fn.setreg("", get_git_diff()) but doesn't seem to work.
The text was updated successfully, but these errors were encountered:
I'm trying to create a hook for generating commit messages based on my staged files. Is there a way to provide the
git diff
output as a context to the agent?I've tried to use
vim.fn.setreg("", get_git_diff())
but doesn't seem to work.The text was updated successfully, but these errors were encountered: