• 6 Posts
  • 583 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle


  • Although now that I think about it, that could have been the intention here but not automatic, if that’s why 5k+ files were staged without the user explicitly staging them. Extra tragic if that’s the case.

    From the git discussions around the issue, it wasn’t that the files were automatically staged, but that the “discard all changes” feature invoked a git clean, and also deleted untracked files.

    Since OP’s project wasn’t tracked, it got detonated.


  • At the same time, OP seems a layman, and might be coming from things like Microsoft Word, where “Discard all changes” basically means “revert to last save”.

    EDIT: After reading the related issues, OP may have also thought that “discard changes” was to uninitialise the repository, as opposed to wiping untracked files.












  • It’s particularly bad now that it’s forcibly embedded into every computer, and at the forefront.

    You can’t hit Win-C by mistake any more, since Windows will instead open a window to “chat with friends and family” by trying to install Teams. (Which makes it particularly bad on my end is that the install broke, so it will randomly pop up later with “Cannot install teams at the moment. Please try again later.”)