Sitoi / ai-commit

Use Azure/OpenAI API to review Git changes, generate conventional commit messages that meet the conventions, simplify the commit process, and keep the commit conventions consistent.
https://marketplace.visualstudio.com/items?itemName=Sitoi.ai-commit
MIT License
27 stars 12 forks source link

feat request: adding in checks for files in the staging area automatically #13

Open wayne-wang-1119 opened 1 week ago

wayne-wang-1119 commented 1 week ago

The current behavior is files need to be added to the staging area first before generating commit message, is it possible to add:

When trying to generate a commit message, if staged changes is empty, use all the changed and automatically push all the changes to the staged changes and generate commit message?

Sitoi commented 3 days ago

This is a good idea, but it is very likely that there will be too many documents exceeding the token length.