find header lines near the end of commit messages