On Thu, Jul 05, 2018 at 06:46:11AM -0400, Aldy Hernandez wrote: > However, even if you could "git log --grep" the commit messages, I assume > your current use is grepping for function names and such, right? Being able > to grep a commit message won't solve that problem, or am I missing > something?
Yeah, I think ChangeLog will be useful even then. > I still think we could automate all this: auto-generated per release? Kept > up to date with latest "make changelog"? As a git/svn hook? With some sort > of GCC static analysis plugin to really drill and document what was actually > changed? > > Is there something y'all foresee that can't be addressed automatically? We have contrib/mklog that can do something semi-automatically, I guess any improvements there are welcome. It works on patches and thus is limited to the info that the patch (usually with diff -p) provides, I guess if it could optionally be fed with diff -U1000000 -bp or similar it could do somewhat better job at finding the actual function/variable names etc. But still filling in prepared contrib/mklog output is a useful part in self-review of a patch and will help others understand the patch, free text in commit message will help far less. Jakub