mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Shuah Khan <skhan@linuxfoundation.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Shuah Khan <skhan@linuxfoundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"open list:KERNEL SELFTEST FRAMEWORK" 
	<linux-kselftest@vger.kernel.org>,
	Kees Cook <keescook@chromium.org>,
	Christophe Leroy <christophe.leroy@c-s.fr>
Subject: [GIT PULL] Kselftest kunit update for Linux 5.6-rc5
Date: Fri, 6 Mar 2020 15:57:27 -0700	[thread overview]
Message-ID: <4d298617-f061-dda0-bde0-901c48247b4a@linuxfoundation.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 2468 bytes --]

Hi Linus,

Please pull the following Keselftest update for Linux 5.6-rc5.

This Kselftest update for Linux 5.6-rc5 consists of a cleanup patch
to undo changes to global .gitignore that added selftests/lkdtm
objects and add them to a local selftests/lkdtm/.gitignore.

Summary of Linus's comments on local vs. global gitignore scope:

- Keep local gitignore patterns in local files.
- Put only global gitignore patterns in the top-level gitignore file.

Local scope keeps things much better separated. It also incidentally
means that if a directory gets renamed, the gitignore file continues
to work unless in the case of renaming the actual files themselves that
are named in the gitignore.

Diff is attached.

I took the liberty to include summary of your comments on local vs
global gitignore scope in the commit message.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit ef89d0545132d685f73da6f58b7e7fe002536f91:

   selftests/rseq: Fix out-of-tree compilation (2020-02-20 08:57:12 -0700)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest 
tags/linux-kselftest-5.6-rc5

for you to fetch changes up to f3a60268f5cec7dae0e9713f5fc65aecc3734c09:

   selftest/lkdtm: Use local .gitignore (2020-03-02 08:39:39 -0700)

----------------------------------------------------------------
linux-kselftest-5.6-rc5

This Kselftest update for Linux 5.6-rc5 consists of a cleanup patch
to undo changes to global .gitignore that added selftests/lkdtm
objects and add them to a local selftests/lkdtm/.gitignore.

Summary of Linus's comments on local vs. global gitignore scope:

- Keep local gitignore patterns in local files.
- Put only global gitignore patterns in the top-level gitignore file.

Local scope keeps things much better separated. It also incidentally
means that if a directory gets renamed, the gitignore file continues
to work unless in the case of renaming the actual files themselves that
are named in the gitignore.

----------------------------------------------------------------
Christophe Leroy (1):
       selftest/lkdtm: Use local .gitignore

  .gitignore                               | 4 ----
  tools/testing/selftests/lkdtm/.gitignore | 2 ++
  2 files changed, 2 insertions(+), 4 deletions(-)
  create mode 100644 tools/testing/selftests/lkdtm/.gitignore

----------------------------------------------------------------

[-- Attachment #2: linux-kselftest-5.6-rc5.diff --]
[-- Type: text/x-patch, Size: 576 bytes --]

diff --git a/.gitignore b/.gitignore
index 2763fce8766c..72ef86a5570d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -100,10 +100,6 @@ modules.order
 /include/ksym/
 /arch/*/include/generated/
 
-# Generated lkdtm tests
-/tools/testing/selftests/lkdtm/*.sh
-!/tools/testing/selftests/lkdtm/run.sh
-
 # stgit generated dirs
 patches-*
 
diff --git a/tools/testing/selftests/lkdtm/.gitignore b/tools/testing/selftests/lkdtm/.gitignore
new file mode 100644
index 000000000000..f26212605b6b
--- /dev/null
+++ b/tools/testing/selftests/lkdtm/.gitignore
@@ -0,0 +1,2 @@
+*.sh
+!run.sh

             reply	other threads:[~2020-03-06 22:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06 22:57 Shuah Khan [this message]
2020-03-06 23:10 ` pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d298617-f061-dda0-bde0-901c48247b4a@linuxfoundation.org \
    --to=skhan@linuxfoundation.org \
    --cc=christophe.leroy@c-s.fr \
    --cc=keescook@chromium.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®