Description
Describe the bug
When using the tool, at times the bullet point items will include things that were from previous commits. It does not happen every time, but frequent enough.
To Reproduce
I cannot reproduce this on every run, as it seems random. But generally all I am doing is:
- setup the tool, and add the key
- allow amends
- install the commit hook
- change 1-3 files, and commit
Expected behavior
I would expect only content to be generated based on what has changed in only the staged file, and only changed in that specific commit. Nothing previous, or in other unstaged files.
System Info (please complete the following information):
- OS: Linux
- Version:
DISTRIB_CODENAME=tapir
DISTRIB_DESCRIPTION="NixOS 23.11 (Tapir)"
DISTRIB_ID=nixos
DISTRIB_RELEASE="23.11"
LSB_VERSION="23.11 (Tapir)"
Additional context
I have had this from both the command line and in VS Code.
What I suspect, is that maybe the prompts need to be tweaked? Maybe a better way to scope?
Would this be done in commit_summary
in the config file? Or more related to file_diff
?
Thank you.