Repository navigation
show an actionable dialog when files would be overwritten - #6755
Conversation
|
@mathieudutour I think this needs a merge from |
iAmWillShepherd
left a comment
There was a problem hiding this comment.
We lean on the side of explicitness so that it's clearer for all folks who peruse our codebase.
Co-Authored-By: mathieudutour <[email protected]>
|
I am not getting the dialog with the action you noted Reproduction steps
I expected the new dialog to give me the option to discard but got the old error dialog. Here's a nice gif of it in action. |
|
Ah that's because of desktop/dugite#281. The proper dialog should show up when the files are already tracked and will be overwritten. Updating the dugite dependency when it's published will take care of showing the dialog when files are untracked and will be overwritten |
|
@mathieudutour @iAmWillShepherd I have just published a new |
|
@mathieudutour are you able to include a screenshot of the dialog in action, for reference? |
Updated PR body with gif. |
|
ah forgot about that, thanks for updating the PR! |
|
@iAmWillShepherd anything in particular holding up this PR from being merged? |
|
I think this has been approved for long enough. Thanks for the contribution @mathieudutour! |

Description
Shows an actionable dialog when files would be overwritten during a checkout. The action of the dialog is "Discard Changes and Checkout". I was also thinking about having a "Stash" action but there is no notion of stash in Desktop yet.
Release notes
Notes: