When you want to discard a change, the app rightfully makes you confirm this change. A similar behaviour should be added when you already partially staged a file (e.g. by staging hunks and/or lines), and subsequently hit the stage button. This button is too close to the stage hunk button and is too often clicked in error.
Preferred solution
Make the Stage button behave similarly to the Discard button by requiring a second click to verify. Only enable this behaviour when a file is already partially staged.
Alternatives
Move the Stage button so it is not so close to the Stage Hunk button (not preferred).
Problem description
When you want to discard a change, the app rightfully makes you confirm this change. A similar behaviour should be added when you already partially staged a file (e.g. by staging hunks and/or lines), and subsequently hit the stage button. This button is too close to the stage hunk button and is too often clicked in error.
Preferred solution
Make the Stage button behave similarly to the Discard button by requiring a second click to verify. Only enable this behaviour when a file is already partially staged.
Alternatives
Move the Stage button so it is not so close to the Stage Hunk button (not preferred).