Select commit message (fixes #540)