t7501: add test of "commit --dry-run --short"