> 3) it removes any comment lines COMMIT_EDITMSG has _only_ comment lines (i.e lines starting with a #), so won't sed remove _all_ lines from it then? (this is exactly what I'm seeing when I run the commit-msg script on COMMIT_EDITMSG).