Re: Feature request: Reduce amount of diff in patch

2017-12-07 Thread Junio C Hamano
Stefan Beller writes: > On Tue, Nov 28, 2017 at 8:09 AM, KES wrote: > ... >> May you please fix the git to generate minimized patches? > > You can use a different diff algorithm. > ... > Soon we'll have another diff algorithm "anchor" that tries to > keep

Re: Feature request: Reduce amount of diff in patch

2017-12-07 Thread Stefan Beller
On Tue, Nov 28, 2017 at 8:09 AM, KES wrote: > Hi. > > I get often patches which can be minimized: > > @@ -60,11 +64,8 @@ sub _get_filter { > address=> { -like => \[ '?', "%$search%" ] }, > company=> { -like => \[ '?', "%$search%" ] }, >

Re: Feature request: Reduce amount of diff in patch

2017-11-28 Thread Kaartic Sivaraam
On Tue, 2017-11-28 at 18:09 +0200, KES wrote: > Hi. > > I get often patches which can be minimized: > I guess the one below can't be (see below). > @@ -60,11 +64,8 @@ sub _get_filter { > address=> { -like => \[ '?', "%$search%" ] }, > company=> { -like => \[ '?',

Feature request: Reduce amount of diff in patch

2017-11-28 Thread KES
Hi. I get often patches which can be minimized: @@ -60,11 +64,8 @@ sub _get_filter { address=> { -like => \[ '?', "%$search%" ] }, company=> { -like => \[ '?', "%$search%" ] }, country_code => { '=' => \[ 'UPPER(?)' => $search ] }, -]); -$users =