[lkml]   [2012]   [Jun]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] staging: comedi: skel: use module_comedi_{pci_,}driver()
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: <> )=-
-=( Tel: +44 (0)161 477 1898 FAX: +44 (0)161 718 3587 )=-

 \ /
  Last update: 2012-06-21 11:41    [W:0.052 / U:0.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site