mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Paul E. McKenney" <paulmck@kernel.org>
To: Ammar Faizi <ammarfaizi2@gnuweeb.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Willy Tarreau <w@1wt.eu>, Sven Schnelle <svens@linux.ibm.com>
Subject: Re: [PATCH RFC] tools/nolibc: Add gitignore to avoid git complaints about sysroot
Date: Mon, 23 Jan 2023 17:12:57 -0800	[thread overview]
Message-ID: <20230124011257.GC2948950@paulmck-ThinkPad-P17-Gen-1> (raw)
In-Reply-To: <Y88u+KnrxjrC+NBe@biznet-home.integral.gnuweeb.org>

On Tue, Jan 24, 2023 at 08:06:00AM +0700, Ammar Faizi wrote:
> On Mon, Jan 23, 2023 at 04:47:07PM -0800, Paul E. McKenney wrote:
> > Testing of nolibc can produce a tools/include/nolibc/sysroot file, which
> > is not known to git.  Because it is automatically generated, there is no
> > reason for it to be known to git.  Therefore, add a .gitignore to remove
> > it from git's field of view.
> 
> Yeah, I hit the same "git status" complaint and have a pending patch
> for that too:
> 
> https://github.com/ammarfaizi2/linux-block/commit/89bfe86a03c173863de12.patch
> 
> ^ I'll drop this one.

Actually, why don't we take yours?  Either way, I have to change something
per your feedback below.

No hurry, send it along when you normally would have.

							Thanx, Paul

> > Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
> > Cc: Willy Tarreau <w@1wt.eu>
> > Cc: Ammar Faizi <ammarfaizi2@gnuweeb.org>
> > Cc: Sven Schnelle <svens@linux.ibm.com>
> > 
> > diff --git a/tools/include/nolibc/.gitignore b/tools/include/nolibc/.gitignore
> > new file mode 100644
> > index 0000000000000..dea22eaaed2ba
> > --- /dev/null
> > +++ b/tools/include/nolibc/.gitignore
> > @@ -0,0 +1 @@
> > +sysroot
> 
> Small nit about the naming, not so much important, but the common
> pattern for directory has a trailing slash. So, I would write
> "sysroot/".
> 
> ".gitignore" and "tools/testing/selftests/.gitignore" do that too :-)
> 
> Reviewed-by: Ammar Faizi <ammarfaizi2@gnuweeb.org>
> 
> Thanks!
> 
> -- 
> Ammar Faizi
> 

  reply	other threads:[~2023-01-24  1:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24  0:47 Paul E. McKenney
2023-01-24  1:06 ` Ammar Faizi
2023-01-24  1:12   ` Paul E. McKenney [this message]
2023-01-24  1:17     ` Ammar Faizi
2023-01-24  3:11       ` Willy Tarreau

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=20230124011257.GC2948950@paulmck-ThinkPad-P17-Gen-1 \
    --to=paulmck@kernel.org \
    --cc=ammarfaizi2@gnuweeb.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=svens@linux.ibm.com \
    --cc=w@1wt.eu \
    /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®