i used to do it in one of my old cars all the time, other cars have not been so nice about it.
I can't say it didn't do any damage as i did blow that gearbox up.. but i generally put it blowing up to me flatshifting and side stepping the clutch at a smidge under the redline