extend feature of last commit to other record types