pull-request: fix commit diff bug