• 0 Posts
  • 31 Comments
Joined 2 years 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.



















  • Unclear. They don’t give their reasoning beyond “complicated = bad”, and very specifically leave it up to the imagination of the reader.

    While they make some interesting points with regards to overcomplication and scope creep, there are also good reasons why we’re still not using programs like ed as text editors, such as it being arcane and unintuitive.

    vi will at least helpfully point out :exit is not an editor command. Instead, ed will not-so-helpfully point out ?.