• gravitas_deficiency
      link
      fedilink
      English
      arrow-up
      7
      ·
      7 months ago

      Real talk: I have worked at a company where an exec briefly had the bright idea to rank developers on number of commits made.

      You can imagine how that turned out.

      He wasn’t an exec for very long.

      • QuazarOmega@lemy.lol
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        lmaoo, I can’t believe someone actually did that and was serious about it.
        I’m already imagining commits piling up with comments like:

        • “add a newline”
        • “move function up”
        • “rename variable users to user_list
        • “Revert previous commit”
        • “no John, it’s user_list and that’s it, don’t you dare change it again”

        He wasn’t an exec for very long.

        Good riddance I guess

        • gravitas_deficiency
          link
          fedilink
          English
          arrow-up
          5
          ·
          7 months ago

          Oh, no, we can do better.

          Every single line of every single PR is an individual commit. And never squash-commit.

            • gravitas_deficiency
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              7 months ago

              If you really want to nuke it from orbit: do it for every character.

              It is absolutely technically feasible to go further than that, but I think that’s the point of diminishing returns in terms of effort.

              • QuazarOmega@lemy.lol
                link
                fedilink
                English
                arrow-up
                1
                ·
                7 months ago

                Hah, I knew it would come to that

                but I think that’s the point of diminishing returns in terms of effort

                Not if you make another application to automatically split commits in that way… application which will need its own commits, it’s never-ending