• BatmanAoD@programming.dev
    link
    fedilink
    arrow-up
    21
    arrow-down
    7
    ·
    3 days ago

    The user clicked an option to “discard” all changes. They then got a very clear pop-up saying that this is destructive and cannot be undone (there’s a screenshot in the thread).

    • Peer
      link
      fedilink
      arrow-up
      24
      ·
      3 days ago

      I very much understand how one can think this would revert any changes done to files under version control but not delete the ones that are not. I believe this dialog has since been updated to explicitly state that fact.

      • BatmanAoD@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        2 days ago

        Yes, the dialog was changed, as part of this linked issue (and maybe again after that; this whole incident is very old). After reading some of the comments on that issue, I agree with the reasoning with some of the commenters that it would be less surprising for that menu option to behave like git reset --hard and not delete tracked files.