Skip to content

Commit messages that recap the diff file by file ​

Comments and text: one of the ways AI coding agents bloat software, from lessloc's pattern catalog. What lessloc does: The commit hook warns when a message lists the files the diff shows.

What makes commit messages that recap the diff file by file a bad practice? ​

The standard that calls it a bad practice: DRY: the diff already lists every file.

What does lessloc do about commit messages that recap the diff file by file? ​

The commit hook warns when a message lists the files the diff shows.

The other patterns in Comments and text:

Released under the Apache-2.0 license. · llms.txt