commit: Add the #'apply-partially API, as used by GNU.