Codium-ai / codiumai-vscode-release

269 stars 39 forks source link

Auto Commit Generates Default Message with .gitignore Staged #154

Closed ilchemla closed 7 months ago

ilchemla commented 8 months ago

Problem:

When I use "Auto Commit" in the VSCode GenAI extension and have a .gitignore file staged, I keep getting the same commit message every time:

Updated func1 in src/file1.py and made minor changes in src/file2.py

This doesn't match what I actually changed. It's like it ignores my real changes and just sticks to this default message.

Steps to Reproduce:

  1. Stage changes including a .gitignore file.
  2. Hit "Auto Commit".
  3. See the same default commit message pop up.

What Should Happen:

The commit message should actually say what was changed, not just throw out a default message that has nothing to do with my work.

What Does Happen:

I get a canned message about updating func1 in src/file1.py and tweaks in src/file2.py no matter what the real changes are.

Why This Sucks:

It's confusing and messes up the commit history, making it hard to track real changes.

Debugging Info:

20a7c03c-e552-43f1-9b69-c414632ddb6a

Setup:

VSCode version: 1.87.1 Codium-Mate Extension version: v0.7.49

image
oranshiner commented 7 months ago

Fixed