News for hackers. Stuff that matters.
Re:Gptcommit: Never write a commit message again (with the h... by xg15 on Thursday January 19, 2023 @06:56PM (#34447371)
I don't think the situation is comparable. The comment is redundant because typically you see the commented code right next to it, so reading the code is about as much effort as reading the comments.

In contrast, commit messages often stand alone: If you browse the history, you only see the messages, but now a large number of them; if a commit changes more than one file, the commit message has to sum up the changes from all files.

In all those contexts, a simple, high-level description of what has changed can be enormously helpful.

Re:Gptcommit: Never write a commit message again (with the h... by D13Fd on Thursday January 19, 2023 @09:45PM (#34448572)
> In all those contexts, a simple, high-level description of what has changed can be enormously helpful.

Sure, but you are leaving out the point of the original reply -- the GPT-written commit messages are not trustworthy. They will look convincing, but they are likely to have errors.

Re:Gptcommit: Never write a commit message again (with the h... by Hextinium on Thursday January 19, 2023 @11:05PM (#34449115)
I find editing text is easier than writing from blank, this would (if it works) give me a starting condition to them edit from which is helpful.