Diff the changelog by hand if the commit message is `empty'.
[adns] / convert
diff --git a/convert b/convert
index 6c7278d..78d4ac3 100755 (executable)
--- a/convert
+++ b/convert
@@ -92,6 +92,10 @@ cat >$tmp/msg-filter <<'FEND'
 perl -ne '
                $out .= $_;
        END {
+               if ($out =~ /\*\*\* empty log message/) {
+                       ($out = `git diff $ENV{GIT_COMMIT}^ $ENV{GIT_COMMIT} -- changelog`)
+                          =~ s/\A.*\n\@\@ /\@\@ /s;
+               }
                if ($out !~ /\n.*\n/) {
                        $out = `fmt <<'\''EOF'\''
 $out