commit trim