Adding check on the commit comment option.