{"thread":{"id":"64615","subject":"Possible problem in --pretty=reference?","startedAt":"2025-12-12T13:25:33Z","lastAt":"2025-12-12T13:28:13Z","messageCount":2,"participants":["Dirk Gouders"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"532071","messageId":"ghfr9fbznh.fsf@gouders.net","threadId":"64615","inReplyTo":null,"subject":"Possible problem in --pretty=reference?","fromName":"Dirk Gouders","fromEmail":"dirk@gouders.net","sentAt":"2025-12-12T13:25:22Z","receivedAt":"2025-12-12T13:25:33Z","isPatch":false,"sender":{"key":"dirk@gouders.net","avatar":"https://avatars.githubusercontent.com/u/81326422?v=4"},"body":"I just did a commit to code I am working on ([1] gives you a link to the\nfull repo) and noticed that --pretty=reference seems to not like my\ncommit message:\n\nThis is the output of `git log`:\n\n------------------------------------------------------------------------\ncommit 93abaadcb0150e3555c91ff1f136cb029da87c0f (HEAD -> next)\nAuthor: Dirk Gouders <dirk@gouders.net>\nDate:   Fri Dec 12 13:54:36 2025 +0100\n\n    line.normalized: fix a comment and a call of lsp_mdup2str() in the code\n\n    When .normalized of lsp_line_t was given a null-terminator\n    (ee7b96f (lsp_normalize: null-terminate returned data, 2025-12-03))\n    a comment in lsp_line_t has been overseen.\n\n    Fix this now.\n\n    Further, at one location, .normalized is still copied with lsp_mdup2str()\n    which isn't longer necessary.  That still works but doesn't show that we\n    know, .normalized is null-terminated.\n\n    Fix this by using lsp_mdup(), instead.\n\n    Fixes: ee7b96f (lsp_normalize: null-terminate returned data, 2025-12-03)\n    Signed-off-by: Dirk Gouders <dirk@gouders.net>\n------------------------------------------------------------------------\n\nAnd here is the output of `git log --pretty=reference`:\n\n------------------------------------------------------------------------\n93abaad (line.normalized: fix a comment and a call of lsp_mdup2str() in the code, 2025-12-12)\n------------------------------------------------------------------------\n\nAll other commits look good with --pretty=reference...\n\nRegards,\n\nDirk\n\n[1] https://github.com/dgouders/lsp/tree/next\n"},{"id":"532072","messageId":"ghbjk3bziv.fsf@gouders.net","threadId":"64615","inReplyTo":"ghfr9fbznh.fsf@gouders.net","subject":"Re: Possible problem in --pretty=reference?","fromName":"Dirk Gouders","fromEmail":"dirk@gouders.net","sentAt":"2025-12-12T13:28:08Z","receivedAt":"2025-12-12T13:28:13Z","isPatch":false,"sender":{"key":"dirk@gouders.net","avatar":"https://avatars.githubusercontent.com/u/81326422?v=4"},"body":"Please ignore the previous mail, seems I am overworked.\n\nSorry for the noise.\n\nDirk\n"}]}