You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "Unstage All" command in the commit form is applying a ResetMixed operation. But, this operation will delete the Merge information.
I suggest to disable the button when it's a merge, or warn the user that this will "broke" the merge (ex with a popup : are you sure...).
In fact, we got some"wrong" merge due to this command in our company, and it's quite difficult to repair afterward.
I'm can try implement this, if you're agreed with the feature.
Regards,
The text was updated successfully, but these errors were encountered:
jbialobr
changed the title
Disable or warn "Unstage All" button when the commit is an merge
Don't use ResetMixed for "Unstage All" button when the commit is a merge
Apr 7, 2017
Hi,
The "Unstage All" command in the commit form is applying a ResetMixed operation. But, this operation will delete the Merge information.
I suggest to disable the button when it's a merge, or warn the user that this will "broke" the merge (ex with a popup : are you sure...).
In fact, we got some"wrong" merge due to this command in our company, and it's quite difficult to repair afterward.
I'm can try implement this, if you're agreed with the feature.
Regards,
The text was updated successfully, but these errors were encountered: