• Korne127@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      The person didn’t have any git repository; probably a new programmer that didn’t know how version control works and just clicked discard without understanding what that means in this situation

    • eating3645@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      8 months ago

      Steps to Reproduce:

      1.Go near this fucking shit editor.

      2.Commit the deadly sin of touching the source control options.

      🤣

        • Hawke@lemmy.world
          link
          fedilink
          arrow-up
          0
          ·
          8 months ago

          I dunno, “discard changes” is usually not the same as “delete all files”

            • Hawke@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              8 months ago

              “Changes” are not the same thing as “files”.

              I’d expect that files that are not in version control would not be touched.

              • EleventhHour@lemmy.world
                link
                fedilink
                English
                arrow-up
                0
                ·
                edit-2
                8 months ago

                Apparently, it means changes to the directory structure and what files are in them, not changes within the files themselves. It really ought to be more clear about this.

  • AnAmericanPotato@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 months 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.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      arrow-down
      1
      ·
      8 months ago

      It’s so fucking infuriating that so many devs act like this. “This should’ve been obvious!” Fuck off, that’s an unhelpful statement. “You should’ve been using version control! No backup, no sympathy!” Fuck off, they were literally trying to begin using version control for backups.

      Even half the comments on this very Lemmy thread are disparaging this dev. I wonder how many actually read the thread and found that there was a bug discovered causing this feature to delete files not even associated with git?

      But, congratulations to them, I suppose. Congratulations on making fun of someone. I hope it makes them feel powerful. 🙄 Devs can be so toxic.