You can normally get away with it, if it knackers anything its normally the diesel pump as the diesel lubricates this and when you fill it with petrol it obviously doesn't, so needless to say if you run a diesel on petrol it will put a few 1000 miles wear on the pump

.