gitbutler icon indicating copy to clipboard operation
gitbutler copied to clipboard

Generate commit message fills bot prompt?

Open cheng-liven opened this issue 9 months ago • 0 comments

Version

0.14.23

Operating System

Windows

Distribution Method

msi (Windows)

Describe the issue

v3 UI, new branch, with changed files selected, no custom prompt set in settings.

The feature worked as expected until this issue occurred (after a few commits merged and pulled.) Seems the selected changes were not received by the bot?

"Generate message" action filled this message:

fix: correct empty commit by adding missing changes

Add missing changes that were intended to be included in the commit. This ensures the codebase remains consistent and prevents potential issues caused by incomplete updates.

Second try:

fix: resolve missing changes in empty commit scenario

Ensure that commits with no changes are handled gracefully to avoid errors during the commit process. This fix improves stability and prevents potential disruptions in the workflow when empty commits occur.

Image

settings:

Image Image

How to reproduce (Optional)

No response

Expected behavior (Optional)

No response

Relevant log output (Optional)


cheng-liven avatar May 16 '25 02:05 cheng-liven