I like the idea, lets try it out and if it works for us we can update CONTRIBUTING.
On 26 February 2015 at 07:09, Zoltan Kiss <[email protected]> wrote: > Hi, > > I guess because git was made for the Linux kernel originally, and when you > have bazillions of patches in huge branches, that makes a difference. Maybe > not. > But indeed, I think we can set this for odp repos as default config. You > can set it on a per repository basis, and I guess you can publish that > setting for whoever checks out the repo. > Here are more details about the algorithm: > > http://stackoverflow.com/questions/4045017/what-is-git-diff-patience-for > > On 26/02/15 04:24, Bill Fischofer wrote: > >> Why wouldn't we make that the default if it results in more readable >> patches? The days when patches were being sent over dial-up lines with >> pay-per-minute rates are long gone, so optimizing patches for transmit >> size vs. human readability seems a poor trade off. >> >> Bill >> >> On Wed, Feb 25, 2015 at 7:58 PM, Zoltan Kiss <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi, >> >> We had a chat about this on Connect, a regular problem is that diff >> sometimes generates patch files which are hardly readable, because >> e.g. the new and old lines are mixed together into an incoherent >> mass. That's because it tries to do the smallest patch. You can >> change that behaviour: >> >> git diff --patience >> git config --global diff.algorithm patience >> >> It works especially when you replace large blocks of lines. >> >> Zoltan >> >> _______________________________________________ >> lng-odp mailing list >> [email protected] <mailto:[email protected]> >> http://lists.linaro.org/mailman/listinfo/lng-odp >> >> >> > _______________________________________________ > lng-odp mailing list > [email protected] > http://lists.linaro.org/mailman/listinfo/lng-odp > -- *Mike Holmes* Linaro Sr Technical Manager LNG - ODP
_______________________________________________ lng-odp mailing list [email protected] http://lists.linaro.org/mailman/listinfo/lng-odp
