Allow `commits.sh` to take path to get log