{"thread":{"id":"64045","subject":"Feature Request: Add comments to commits","startedAt":"2025-08-27T10:30:06Z","lastAt":"2025-08-27T20:26:11Z","messageCount":4,"participants":["Rune Philosof","Kristoffer Haugsbakk","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"525030","messageId":"CAL8J5gbKu7qB8Byg82CGqtrYK0gm4gf5V=qrc7npzAoF+kAXJA@mail.gmail.com","threadId":"64045","inReplyTo":null,"subject":"Feature Request: Add comments to commits","fromName":"Rune Philosof","fromEmail":"rp@abtion.com","sentAt":"2025-08-27T10:29:54Z","receivedAt":"2025-08-27T10:30:06Z","isPatch":false,"sender":{"key":"rp@abtion.com","avatar":null},"body":"Git commit messages quality is very important when you investigate your history.\nOften it would be useful to be able to attach comments to commits\nmessages for instance to add forgotten information.\nThose comments should be shown when `git show`ing a commit.\nCould be implemented as commits that use a new field to link to the\ncommit they should be shown with, along with some index to make it\nperformant.\n\nServices like Github that already have comments on commits and PRs,\ncould integrate with this to make comments made on the platform part\nof git.\n\n-- \nMed venlig hilsen / Best regards\n\nRune Philosof\nSoftware developer\n\n+45 28 45 64 08\nrp@abtion.com\n\n\nVesterbrogade 15, 3\n1620 København V\n\nSverigesgade 18\n5000 Odense C\n\nhttps://abtion.com\n\n-- \n\n\n\n\n\n\n\n\nVesterbrogade 40 - 2th\n\n1620 København V\n\n\n\nSverigesgade 18\n\n5000 \nOdense\n\n\n\n\nabtion.com <http://abtion.com/>\n"},{"id":"525031","messageId":"a0c393df-a23c-49e0-8985-4748e1769a62@app.fastmail.com","threadId":"64045","inReplyTo":"CAL8J5gbKu7qB8Byg82CGqtrYK0gm4gf5V=qrc7npzAoF+kAXJA@mail.gmail.com","subject":"Re: Feature Request: Add comments to commits","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2025-08-27T10:32:56Z","receivedAt":"2025-08-27T10:33:47Z","isPatch":false,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"On Wed, Aug 27, 2025, at 12:29, Rune Philosof wrote:\n> Git commit messages quality is very important when you investigate your history.\n> Often it would be useful to be able to attach comments to commits\n> messages for instance to add forgotten information.\n> Those comments should be shown when `git show`ing a commit.\n> Could be implemented as commits that use a new field to link to the\n> commit they should be shown with, along with some index to make it\n> performant.\n\ngit-notes(1)\n\n> Services like Github that already have comments on commits and PRs,\n> could integrate with this to make comments made on the platform part\n> of git.\n\nThey stopped supporting it in 2014.\n\nhttps://github.blog/news-insights/the-library/git-notes-display/\n"},{"id":"525061","messageId":"xmqqwm6o1zab.fsf@gitster.g","threadId":"64045","inReplyTo":"a0c393df-a23c-49e0-8985-4748e1769a62@app.fastmail.com","subject":"Re: Feature Request: Add comments to commits","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2025-08-27T16:53:48Z","receivedAt":"2025-08-27T16:53:50Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Kristoffer Haugsbakk\" <kristofferhaugsbakk@fastmail.com> writes:\n\n> On Wed, Aug 27, 2025, at 12:29, Rune Philosof wrote:\n>> Git commit messages quality is very important when you investigate your history.\n>> Often it would be useful to be able to attach comments to commits\n>> messages for instance to add forgotten information.\n>> Those comments should be shown when `git show`ing a commit.\n>> Could be implemented as commits that use a new field to link to the\n>> commit they should be shown with, along with some index to make it\n>> performant.\n>\n> git-notes(1)\n\n... together with \"git log --notes[=<ref>]\".\n"},{"id":"525073","messageId":"dc0651fb-4059-41a7-817a-a68c8736ec70@app.fastmail.com","threadId":"64045","inReplyTo":"xmqqwm6o1zab.fsf@gitster.g","subject":"Re: Feature Request: Add comments to commits","fromName":"Kristoffer Haugsbakk","fromEmail":"kristofferhaugsbakk@fastmail.com","sentAt":"2025-08-27T20:25:49Z","receivedAt":"2025-08-27T20:26:11Z","isPatch":false,"sender":{"key":"kristofferhaugsbakk@fastmail.com","avatar":null},"body":"On Wed, Aug 27, 2025, at 18:53, Junio C Hamano wrote:\n> \"Kristoffer Haugsbakk\" <kristofferhaugsbakk@fastmail.com> writes:\n>\n>> On Wed, Aug 27, 2025, at 12:29, Rune Philosof wrote:\n>>> Git commit messages quality is very important when you investigate your history.\n>>> Often it would be useful to be able to attach comments to commits\n>>> messages for instance to add forgotten information.\n>>> Those comments should be shown when `git show`ing a commit.\n>>> Could be implemented as commits that use a new field to link to the\n>>> commit they should be shown with, along with some index to make it\n>>> performant.\n>>\n>> git-notes(1)\n>\n> ... together with \"git log --notes[=<ref>]\".\n\nI think that’s covered well enough by the man page. ;)\n\n-- \nKristoffer Haugsbakk\n"}]}