Re: [PATCH 4/5] .gitignore: prefix local generated files with a slash

From: Rob Herring
Date: Mon Apr 26 2021 - 11:33:49 EST


On Sun, Apr 25, 2021 at 1:35 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> The pattern prefixed with '/' matches a file in the same directory,
> but not a one in sub-directories.
>
> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>
> ---
>
> Documentation/devicetree/bindings/.gitignore | 4 ++--
> arch/.gitignore | 4 ++--
> certs/.gitignore | 2 +-
> drivers/memory/.gitignore | 2 +-
> drivers/tty/vt/.gitignore | 6 +++---
> kernel/.gitignore | 2 +-
> lib/.gitignore | 10 +++++-----
> samples/auxdisplay/.gitignore | 2 +-
> samples/binderfs/.gitignore | 3 ++-
> samples/connector/.gitignore | 2 +-
> samples/hidraw/.gitignore | 2 +-
> samples/mei/.gitignore | 2 +-
> samples/nitro_enclaves/.gitignore | 2 +-
> samples/pidfd/.gitignore | 2 +-
> samples/seccomp/.gitignore | 8 ++++----
> samples/timers/.gitignore | 2 +-
> samples/vfs/.gitignore | 4 ++--
> samples/watch_queue/.gitignore | 3 ++-
> samples/watchdog/.gitignore | 2 +-
> scripts/.gitignore | 18 +++++++++---------
> scripts/basic/.gitignore | 2 +-
> scripts/dtc/.gitignore | 4 ++--
> scripts/gcc-plugins/.gitignore | 2 +-
> scripts/genksyms/.gitignore | 2 +-
> scripts/mod/.gitignore | 8 ++++----
> usr/.gitignore | 4 ++--
> 26 files changed, 53 insertions(+), 51 deletions(-)

Acked-by: Rob Herring <robh@xxxxxxxxxx>