MichaelCurrin/auto-commit-msg

Unable to generate message as no changes files can be seen. Try saving your files or stage any new (untracked) files.

glassesUSA opened this issue · 7 comments

image

Says there is nothing to be updated when there are updates available

Hi, thanks for message.

Please follow the instructions from the help.

stage any new (untracked) files

i.e. If you stage all the U files using VS Code UI or git CLI, then those files will be seen by the extension.

Ahh okay thanks!

Cool.

BTW for background I have notes in the docs on why handling untracked files is heavy lift in functionality and so you just have to remember to stage files yourself

https://github.com/MichaelCurrin/auto-commit-msg/blob/master/docs/development/advanced/status-vs-diff-index.md#limitation-of-diff-index

Let me know if you have any ideas on how I can reword the extensions error message that came up for you - so that it could be clearer for others who run into the same issue.

You have too many files to automatically commit. Please manually commit them and then repress the button

What you are suggesting could be used for the case where you commit more than X files.

I was actually referring to a message around what you had originally, not about the number of files, but that the extension saw zero files because they were all new and untracked. So I wanted to see if you had an idea to improve this:

Try saving your files or stage any new (untracked) files.

The tip says to stage untracked files which was the solution so I don't know how to make that clearer.

Nope sounds good