News for hackers. Stuff that matters.
Re:Commit comments no longer appear in the pull request time... by IggleSniggle on Sunday August 07, 2022 @03:13PM (#32378959)
You could do them as git notes, which gives you a non-vendor specific mechanism for handling this kind of data in git. However, you do need to make a point about having changes to notes get pushed to version control, so it does require either a tool or onboarding to become useful for what you’re talking about.

Git can store a variety of other objects in the repo as well, but the built in git-notes mechanism springs most immediately to my mind as the thing you’re looking for.

Re:Commit comments no longer appear in the pull request time... by layer8 on Sunday August 07, 2022 @06:34PM (#32380603)
GitHub used to have some support for notes, they should bring that back: https://github.blog/2010-08-25-git-notes-display/
Re:Commit comments no longer appear in the pull request time... by usr1106 on Monday August 08, 2022 @01:20AM (#32382573)
Comments can be made specific to a code line. Git notes are attached to a SHA-1. So you would first need some standard how to refer to lines or nobody else can read your comments.