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
andellama--diff
. These functions generate the diff output for staged and unstaged changes respectively. The existingellama-generate-commit-message
function now utilizes these new functions to determine the appropriate diff to use.