Skip to content

[BUG] It's possible to accidentally "Stage all & commit" twice! #1777

@goran-w

Description

@goran-w

It's possible to press the STAGE ALL & COMMIT button twice in the Commit-confirmation popup, which then causes a second (empty) commit with the same message as the first one.

This happened to me a couple of times recently (maybe accentuated by me running a Debug build of SourceGit which possibly makes it slightly slower). After pressing the button the first time, nothing seemed to happen for a second or so and there was no indication that it was processing, so (impatiently) I pressed the button again, which led to this issue...

This is worsened, of course, if the initial button we pressed was COMMIT & PUSH... 😅

NOTE: This issue is perhaps somewhat related to #1032. (But for the current issue I was not really "double-clicking", instead I clicked the button again later because I thought the first click had not been registered.)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions