Add line end option for regi checkout.