find corresponding pairs commit