$ git log --format='%h %s' 21144c8 Tidy the notes -- second pass 74f2c45 Add the index page $ git log -1 --format=%B | rule --rule no-dash - :1:16: error: "--" is not permitted [no-dash] Tidy the notes -- second pass ^~ 1 error generated. $ git rev-list HEAD | while read -r h; do git log -1 --format=%B "$h" | rule --rule no-dash --no-log - 2>&1 | sed "s/^:/$h:/"; done 21144c847b373b6a42696a01d7403c1f8bcc0060:1:16: error: "--" is not permitted [no-dash] Tidy the notes -- second pass ^~ 1 error generated. $