Originally Posted by brut4s
Actually a small amount of gasoline(<10%) will have no effect on a diesel except lowering the flash point of the fuel which is a consideration in an accident but not for the running of the motor. I ran ~30% gasoline in a Hercules direct injection mechanical fuel pump diesel when I got a load of summer fuel in the winter and it ran fine except it wouldn't idle fast enough.
Mercedes actually published formulae for mixing gasoline with diesel in the winter for their older mechanical engines. Maybe not a great idea for modern electronic super high injection pressure engines. But I will categorically state that a small amount (like the residual you'd end up with after emptying a jerrycan) of gasoline in diesel fuel will not affect the engine in any way.
Unimog U500 with Unicat camper; diesel BMW X5 35d, diesel BJ40 Landcruiser and diesel M37