commit warning check