make fewer API requests for history sidebar commits