I develop in python and of course the use of jupyter notebooks destroys nicely formatted git diffs. Currently, I use this tool by committing all my .py files with opencommit, then committing all my .ipynb files manually as a separate commit. Other file types, like images, should be excluded for similar reasons.
Suggested Solution
I would pass the contents of the git diff over all files except those from an excluded list. Optionally, you could include in the prompt the filenames of those that were changed but not included in the diff.
Description
I develop in python and of course the use of jupyter notebooks destroys nicely formatted git diffs. Currently, I use this tool by committing all my .py files with opencommit, then committing all my .ipynb files manually as a separate commit. Other file types, like images, should be excluded for similar reasons.
Suggested Solution
I would pass the contents of the git diff over all files except those from an excluded list. Optionally, you could include in the prompt the filenames of those that were changed but not included in the diff.
Alternatives
No response
Additional Context
No response