Commit keyword check now processes only added lines in diff