• HaraldvonBlauzahn@feddit.org
    link
    fedilink
    arrow-up
    1
    ·
    4 days ago

    Sometimes, I look into old commit messages.

    The most useful bits it can have are:

    • Why was the change made?
    • What does it intend to fix? Issue number?
    • What does the commiter think why it works?
    • How well was this tested? Where is the test script and/or test data?
    • Does it change preconditions and valid assumptions elsewhere?
  • Captain Beyond@linkage.ds8.zone
    link
    fedilink
    arrow-up
    1
    ·
    6 days ago

    My pet peeve with conventional commits is that some brain genius decided to shorten “feature” into “feat”, a completely different word, in order to save three characters.

    I suppose implementing a feature can be a feat sometimes.

    • stembolts@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      edit-2
      6 days ago

      I rarely read a comment I disagree with more than this, kudos.

      In a typical 60 character space, you want to dedicate 5% of your oneline space to the chatacters “ure” so that you don’t mistake “feature” with the other words in english that start with “feat-”?

      Yea, I don’t understand the reasoning behind that at all.

      • bignose@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        5 days ago

        In a typical 60 character space, you want to dedicate 5% of your oneline space to the chatacters “ure” […]?

        I agree, that’s an unnecessary crowding of an already limited space.

        This is a good argument for removing that tag from the synopsis line entirely, leaving the whole synopsis line for an actual synopsis of the message.

        For tags and other additional metadata, there is a whole arbitrary-length extended message on every commit, where fields like that can be put.

  • atzanteol@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 days ago

    Fuck no. Stop trying to stuff data into commit messages. Just describe your change succinctly so I know what you did. This “feat” “fix” and “chore” bullshit needs to stop.