Ello Ello.

Can you recommend a program with which I can generate commit messages locally? I DO NOT want an LLM local or cloud API. What I want is a tiny or small language model. If I could easily swap or customize the model for each project, it would be better, too. So I could have smaller models for specific projects. I can do the training meself.

Thanks in advance!

  • KissYagni@programming.dev
    link
    fedilink
    arrow-up
    8
    ·
    14 hours ago

    A commit message is not supposed to be a summary of the code. It is supposed to gives information that you cannot deduct from the diff. Like:

    • Is there an attached ticket ?
    • Does it produce side effects ?
    • Is it a quick and dirty fix just before the release ?
    • What are the consequence of the modification ?
    • Why you choose this approach instead of another ?
    • Why are you not able to add regression test ? etc …

    The first guy at Cursor that create the feature to generate commit message from diff is just a fucking moron that don’t understand the role of a commit message.

    • aivoton@sopuli.xyz
      link
      fedilink
      arrow-up
      3
      ·
      10 hours ago

      Things I want to see in a commit message before an autogenerated dissection of the diff:

      • What you ate for lunch
      • Were you grumpy this morning
      • Was your cat an asshole and drop something from a kitchen table
      • Is green better colour than blue
      • Did you hurry when typing the commit message
      • afasfsafdas

      I can understand the diff, but I can’t understand your reasoning and anything that gives me an inkling of your mind is better than rewording the diff.