Re: [PATCH] .gitattributes: Use 'dts' diff driver for dts files

From: Stephen Boyd
Date: Fri Oct 04 2019 - 19:50:39 EST


Quoting Randy Dunlap (2019-10-04 15:08:08)
> On 10/4/19 2:23 PM, Stephen Boyd wrote:
> >
> > diff --git a/.gitattributes b/.gitattributes
> > index 89c411b5ce6b..4b32eaa9571e 100644
> > --- a/.gitattributes
> > +++ b/.gitattributes
> > @@ -1,2 +1,4 @@
> > *.c diff=cpp
> > *.h diff=cpp
> > +*.dtsi diff=dts
> > +*.dts diff=dts
> >
>
> Hm, I have a "cpp" installed but not a "dts".
> Where would I find this "dts" so that I can install it?
>

It's not released yet but it is staged to be in the next release[1]. You
can probably build git from source and try it out if you're interested.

[1] https://git.kernel.org/pub/scm/git/git.git/commit/?id=d49c2c3466d2c8cb0b3d0a43e6b406b07078fdb1