Add diff header recognition