pidiff removes changes that merely move lines around from diff -u output. The result is no longer a valid patch and is only intended for human use.