commit-graph: remove redundant handling of -h