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

bug: adds old commit items to summaries #215

Open
bashfulrobot opened this issue Aug 17, 2023 · 1 comment
Open

bug: adds old commit items to summaries #215

bashfulrobot opened this issue Aug 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bashfulrobot
Copy link

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.

@bashfulrobot bashfulrobot added the bug Something isn't working label Aug 17, 2023
@bashfulrobot
Copy link
Author

Hi there, I am politely bumping to see if you have any suggestions.

Appreciate your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant