implement sane commit viewing