builtin-commit: fix partial-commit support