On 2012-06-21 01:21, H Hartley Sweeten wrote:
Question. Is there a way to do a 'git commit' with the diff generated using the "patience diff" algorithm? I have a patch that is really ugly when I do the git commit but looks ok if I do a 'git diff --patience'.
You can generate patches with the different diff algorithms, but I don't think it makes any difference to what gets committed in the git repository, or rather it doesn't make any difference when patches are sent upstream from that intermediate repository as the diff will be regenerated on the fly.
I guess your ugly patch is moving stuff around to avoid forward declarations? Splitting it up into a number of steps seems to help in that case.
-- -=( Ian Abbott @ MEV Ltd. E-mail: <abbotti@xxxxxxxxx> )=- -=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=- _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel