Add support for looking up commits at path