sublimehq / sublime_merge

Issue tracker for Sublime Merge
https://www.sublimemerge.com
276 stars 14 forks source link

When nothing in stage, notify the user when they want to commit #1717

Closed kud closed 1 year ago

kud commented 1 year ago

Problem description

Imagine you have nothing in stage and you try to commit via the keyboard after having written a sentence in this commit.

Preferred solution

Display a notification/toast saying "Nothing in stage yet".

dpjohnst commented 1 year ago

Hi @kud,

Thanks for reaching out and sharing this feedback!

We currently display a "Nothing to commit" label in the commit button if there is nothing in the staged files section. Could you confirm if this is not the case for you, and we can investigate further (likely a bug).

Many thanks, - Dylan from Sublime HQ