• AnAmericanPotato@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    14 days ago

    I feel bad for this kid. That really is a bad warning dialog. Nowhere does it say it’s going to delete files. Anyone who thinks that’s good design needs a break.

    Half the replies are basically “This should be obvious if your past five years of life experience is similar to mine, and if it isn’t then get fucked.” Just adding insult to injury.

    • Omega_Jimes@lemmy.ca
      link
      fedilink
      arrow-up
      0
      ·
      14 days ago

      I’m not great at English, but “discard all changes” shouldn’t ever mean “Delete”.

      • Michal@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        14 days ago

        In the context of version control it does. Discarding a change that creates a file means deleting the file.