public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zack@owlfolio.org>
To: libc-alpha@sourceware.org
Subject: Re: [PATCH] Add config.log to .gitignore
Date: Wed, 22 Mar 2023 12:01:46 -0400	[thread overview]
Message-ID: <b2e4ec30-f15c-8b30-5aab-1aff250054e5@owlfolio.org> (raw)
In-Reply-To: <tencent_9E18700AF164F95EC2A9C4BD5E8CA623660A@qq.com>

On 2023-03-21 10:10 AM, 荣涛 via Libc-alpha wrote:
>> How the config.log file could ever be here?
> You are right, sorry, my mistake.

I think the patch is desirable anyway.  If someone makes a mistake and
runs configure in the source directory, configure errors out, but it
does so *after* creating config.log in the source directory.  If this
hypothetical someone goes on to create a separate build directory and
do some hacking, and eventually runs 'git commit -a' without carefully 
checking what files are new or modified in the source directory, 
config.log could get added to the commit.  Adding config.log to 
.gitignore protects against this chain of human errors.

zw

  reply	other threads:[~2023-03-22 16:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-21 12:24 Rong Tao
2023-03-21 12:38 ` Xi Ruoyao
2023-03-21 14:10   ` =?gb18030?B?yNnMzg==?=
2023-03-22 16:01     ` Zack Weinberg [this message]
2023-03-22 16:26       ` Xi Ruoyao
2023-03-22 20:14         ` Zack Weinberg

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=b2e4ec30-f15c-8b30-5aab-1aff250054e5@owlfolio.org \
    --to=zack@owlfolio.org \
    --cc=libc-alpha@sourceware.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).