Re: [PATCH] staging: comedi: skel: use module_comedi_{pci_,}driver()

From: Ian Abbott
Date: Thu Jun 21 2012 - 05:02:00 EST


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 )=-


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/