Just personal preference, but I'm inclined to capture the values from `commit` in the other overload, and just defer to that one here.