diff mbox series

[v1,1/1] dt-bindings: Fix .gitignore

Message ID 20230127150225.18148-1-andriy.shevchenko@linux.intel.com
State Accepted, archived
Headers show
Series [v1,1/1] dt-bindings: Fix .gitignore | expand

Checks

Context Check Description
robh/checkpatch warning total: 0 errors, 1 warnings, 8 lines checked
robh/patch-applied success

Commit Message

Andy Shevchenko Jan. 27, 2023, 3:02 p.m. UTC
The tracked files should not be ignored.

Fixes: 44ec8b20d1e9 ("dt-bindings: Add running yamllint to dt_binding_check")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 Documentation/devicetree/bindings/.gitignore | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Rob Herring Feb. 1, 2023, 1:27 a.m. UTC | #1
On Fri, 27 Jan 2023 17:02:25 +0200, Andy Shevchenko wrote:
> The tracked files should not be ignored.
> 
> Fixes: 44ec8b20d1e9 ("dt-bindings: Add running yamllint to dt_binding_check")
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  Documentation/devicetree/bindings/.gitignore | 5 +++++
>  1 file changed, 5 insertions(+)
> 

Applied, thanks!
Masahiro Yamada Feb. 1, 2023, 1:34 a.m. UTC | #2
On Wed, Feb 1, 2023 at 10:27 AM Rob Herring <robh@kernel.org> wrote:
>
>
> On Fri, 27 Jan 2023 17:02:25 +0200, Andy Shevchenko wrote:
> > The tracked files should not be ignored.
> >
> > Fixes: 44ec8b20d1e9 ("dt-bindings: Add running yamllint to dt_binding_check")
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> > ---
> >  Documentation/devicetree/bindings/.gitignore | 5 +++++
> >  1 file changed, 5 insertions(+)
> >
>
> Applied, thanks!
>


!/.yamllint


please since this file exists in
Documentation/devicetree/bindings, but never in sub-directories.
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/.gitignore b/Documentation/devicetree/bindings/.gitignore
index a77719968a7e..51ddb26d93f0 100644
--- a/Documentation/devicetree/bindings/.gitignore
+++ b/Documentation/devicetree/bindings/.gitignore
@@ -2,3 +2,8 @@ 
 *.example.dts
 /processed-schema*.yaml
 /processed-schema*.json
+
+#
+# We don't want to ignore the following even if they are dot-files
+#
+!.yamllint