<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="/rss.xsl.xml"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
    <title>Changes in .gitattributes</title>
    <description></description>
    <language>en</language>
    <copyright>Copyright 2015</copyright>
    <generator>Java</generator><item>
        <title>8f8d4be9 - .gitattributes: set diff driver for Rust source code files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/.gitattributes#8f8d4be9</link>
        <description>.gitattributes: set diff driver for Rust source code filesGit supports a builtin Rust diff driver [1] since v2.23.0 (2019).It improves the choice of hunk headers in some cases, such asdiffs within methods, since those are indented in Rust withinan `impl` block, and therefore the default diff driver wouldpick the outer `impl` block instead (rather than the methodwhere the changed code is).For instance, with the default diff driver:    @@ -455,6 +455,8 @@ impl fmt::Write for RawFormatter {             // Amount that we can copy. `saturating_sub` ensures we get 0 if `pos` goes past `end`.             let len_to_copy = core::cmp::min(pos_new, self.end).saturating_sub(self.pos);    +        test_diff_driver();    +             if len_to_copy &gt; 0 {                 // SAFETY: If `len_to_copy` is non-zero, then we know `pos` has not gone past `end`                 // yet, so it is valid for write per the type invariants.With the Rust diff driver:    @@ -455,6 +455,8 @@ fn write_str(&amp;mut self, s: &amp;str) -&gt; fmt::Result {             // Amount that we can copy. `saturating_sub` ensures we get 0 if `pos` goes past `end`.             let len_to_copy = core::cmp::min(pos_new, self.end).saturating_sub(self.pos);    +        test_diff_driver();    +             if len_to_copy &gt; 0 {                 // SAFETY: If `len_to_copy` is non-zero, then we know `pos` has not gone past `end`                 // yet, so it is valid for write per the type invariants.Thus set the `rust` diff driver for `*.rs` source files.The Rust repository also does so since 2020 [2].Link: https://git-scm.com/docs/gitattributes#_defining_a_custom_hunk_header [1]Link: https://github.com/rust-lang/rust/pull/78882 [2]Reviewed-by: Gary Guo &lt;gary@garyguo.net&gt;Reviewed-by: Martin Rodriguez Reboredo &lt;yakoyoku@gmail.com&gt;Reviewed-by: Benno Lossin &lt;benno.lossin@proton.me&gt;Link: https://lore.kernel.org/r/20230418233048.335281-1-ojeda@kernel.org[ Added link to Rust repository ]Signed-off-by: Miguel Ojeda &lt;ojeda@kernel.org&gt;

            List of files:
            /linux-6.15/.gitattributes</description>
        <pubDate>Tue, 18 Apr 2023 23:30:48 +0000</pubDate>
        <dc:creator>Miguel Ojeda &lt;ojeda@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>ae41e0e4 - .gitattributes: use &apos;dts&apos; diff driver for *.dtso files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/.gitattributes#ae41e0e4</link>
        <description>.gitattributes: use &apos;dts&apos; diff driver for *.dtso filesNow we have the third extension for DT source files (overlay).Give the diff=dts attribute to *.dtso as well.While I was here, I merged *.c and *.o into *.[ch] and added theSPDX-License-Identifier.Signed-off-by: Masahiro Yamada &lt;masahiroy@kernel.org&gt;

            List of files:
            /linux-6.15/.gitattributes</description>
        <pubDate>Sun, 19 Feb 2023 14:23:27 +0000</pubDate>
        <dc:creator>Masahiro Yamada &lt;masahiroy@kernel.org&gt;</dc:creator>
    </item>
<item>
        <title>a512ae54 - .gitattributes: use &apos;dts&apos; diff driver for dts files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/.gitattributes#a512ae54</link>
        <description>.gitattributes: use &apos;dts&apos; diff driver for dts filesGit is gaining support to display the closest node to the diff in thehunk header via the &apos;dts&apos; diff driver.  Use that driver for all dts anddtsi files so we can gain some more context on where the diff is.Taking a recent commit in the kernel dts files you can see thedifference.With this patch and an updated git: diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi:  index 62e07e1197cc..4c38426a6969 100644:  --- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi:  +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi:  @@ -289,5 +289,29 @@ vdd_hdmi: regulator@1 {:                          gpio = &lt;&amp;gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH&gt;;:                          enable-active-high;:                  };:  +:  +               vdd_3v3_pcie: regulator@2 {:  +                       compatible = &quot;regulator-fixed&quot;;vs. without this patch:  diff --git a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi:  index 62e07e1197cc..4c38426a6969 100644:  --- a/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi:  +++ b/arch/arm64/boot/dts/nvidia/tegra194-p2888.dtsi:  @@ -289,5 +289,29 @@:                          gpio = &lt;&amp;gpio TEGRA194_MAIN_GPIO(A, 3) GPIO_ACTIVE_HIGH&gt;;:                          enable-active-high;:                  };:  +:  +               vdd_3v3_pcie: regulator@2 {:  +                       compatible = &quot;regulator-fixed&quot;;You can see that we don&apos;t know what the context node is because it isn&apos;tshown after the &apos;@@&apos;.dts is not released yet but it is staged to be in the next release[1].One can probably build git from source and try it out.[1] https://git.kernel.org/pub/scm/git/git.git/commit/?id=d49c2c3466d2c8cb0b3d0a43e6b406b07078fdb1Link: http://lkml.kernel.org/r/20191004212311.141538-1-swboyd@chromium.orgSigned-off-by: Stephen Boyd &lt;swboyd@chromium.org&gt;Cc: Rob Herring &lt;robh+dt@kernel.org&gt;Cc: Randy Dunlap &lt;rdunlap@infradead.org&gt;Acked-by: Frank Rowand &lt;frowand.list@gmail.com&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/.gitattributes</description>
        <pubDate>Thu, 05 Dec 2019 00:50:17 +0000</pubDate>
        <dc:creator>Stephen Boyd &lt;swboyd@chromium.org&gt;</dc:creator>
    </item>
<item>
        <title>218dd858 - .gitattributes: set git diff driver for C source code files</title>
        <link>http://172.16.0.5:8080/history/linux-6.15/.gitattributes#218dd858</link>
        <description>.gitattributes: set git diff driver for C source code filesGit can be told to apply language-specific rules when generating diffs.Enable this for C source code files (*.c and *.h) so that function namesare printed right.  Specifically, doing so prevents &quot;git diff&quot; frommistakenly considering unindented goto labels as function names.Link: http://lkml.kernel.org/r/20160907143403.1449324f@endymionSigned-off-by: Jean Delvare &lt;jdelvare@suse.de&gt;Cc: Peter Zijlstra &lt;peterz@infradead.org&gt;Cc: Joe Perches &lt;joe@perches.com&gt;Cc: Jonathan Corbet &lt;corbet@lwn.net&gt;Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;

            List of files:
            /linux-6.15/.gitattributes</description>
        <pubDate>Sat, 08 Oct 2016 00:03:04 +0000</pubDate>
        <dc:creator>Jean Delvare &lt;jdelvare@suse.de&gt;</dc:creator>
    </item>
</channel>
</rss>
