sourcegit icon indicating copy to clipboard operation
sourcegit copied to clipboard

Excess window with the suggestion to stash changes before switch to commit

Open Mingun opened this issue 5 months ago • 2 comments

When you double-click to the commit in the graph, the window with the suggestion to stash commits is shown even in the case where there is no local changes. This window seems redundant. I suggest to add setting so you be able to avoid it. The setting is for those who think that this confirmation prevents them from accidental switching

Mingun avatar Aug 06 '25 08:08 Mingun

Double-clicking a commit will check out that commit and enter a detached state. Sometimes, it might just be a mouse malfunction causing the double-click (common with Logitech mice). This confirmation dialog helps prevent accidental operations and provides a warning for potential issues.

gadfly3173 avatar Aug 06 '25 08:08 gadfly3173

I understand that, this is why I suggest to add a setting for those which does not have problems with they mouse.

Mingun avatar Aug 06 '25 08:08 Mingun