Update commit diff view
Port and improve search history