commit: make default of "cleanup" option configurable