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

Fix commit message generation for partial commits #146

Merged
merged 1 commit into from
Jul 14, 2024
Merged

Conversation

s-kostyaev
Copy link
Owner

This commit adds two new functions: ellama--diff-cached and ellama--diff. These functions generate the diff output for staged and unstaged changes respectively. The existing
ellama-generate-commit-message function now utilizes these new functions to determine the appropriate diff to use.

This commit adds two new functions: `ellama--diff-cached` and
`ellama--diff`. These functions generate the diff output for staged
and unstaged changes respectively. The existing
`ellama-generate-commit-message` function now utilizes these new
functions to determine the appropriate diff to use.
@s-kostyaev s-kostyaev merged commit 55fe994 into main Jul 14, 2024
11 checks passed
@s-kostyaev s-kostyaev deleted the fix-diff-staged branch July 14, 2024 18:01
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

Successfully merging this pull request may close these issues.

1 participant