If there's no changes for this file (which means there are only removed lines), clear all messages.