It depends on which part of the world you're in.
Airlines based in a country with a healthy General Aviation scene will probably prefer civil pilots. If there General Aviation scene is limited then it would make military pilots an attractive source.
I'm not saying that Military pilots are any worse/better but there have been airlines where the safety record was quite poor as a result of poor CRM from the military pilots, China Airlines and Korean Air are examples. These airlines have recognised and rectified the problems and today are up to industry levels in terms of accidents/incidents.