All of lore.kernel.org
 help / color / mirror / Atom feed
From: Junio C Hamano <gitster@pobox.com>
To: Taylor Blau <ttaylorr@github.com>
Cc: HG King via GitGitGadget <gitgitgadget@gmail.com>,
	git@vger.kernel.org, HG King <hgmaxwellking@gmail.com>
Subject: Re: [PATCH] fix: added new BANNED_EXPL macro for better error messages, new parameter
Date: Mon, 08 Mar 2021 10:41:04 -0800	[thread overview]
Message-ID: <xmqqo8ft5vzz.fsf@gitster.c.googlers.com> (raw)
In-Reply-To: <YEZnaeJVt8Rk6duv@nand.local> (Taylor Blau's message of "Mon, 8 Mar 2021 13:05:46 -0500")

Taylor Blau <ttaylorr@github.com> writes:

>> Adding a comment around each of these definition may be OK.  Upon
>> seeing foo_is_a_banned_function, somebody new to the codebase would
>> look for where it is banned, and find the above, so that is a good
>> place to give guidance.
>
> Perhaps, but all of this information is already covered accurately in
> the patches that introduced each banned function. So I'm not sure that I
> even agree that this information is difficult to discover to begin with,
> but I may be biased.

To help those who are not yet familiar with this codebase but are
willing to learn, I tend to agree with you that it is a good idea
not to miss opportunities to encourage them to run "git blame" to
find out about the project history in the parts of the system that
pique their interest.  They will make more motivated contributors
who are invested in the project, if they stick around.

It would discourage and filter out "drive-by" contributors, though.

Somebody may not yet be interested enough to "git clone" us, but
happens to have an extract of distro source tarball and enough
motivation to try peeking and tweaking around.  To such a curious
developer, the "blame" information and log messages with the change
are not readily available, so there probably is some balance to be
struck.

      parent reply	other threads:[~2021-03-08 18:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-06  0:51 [PATCH] fix: added new BANNED_EXPL macro for better error messages, new parameter HG King via GitGitGadget
2021-03-07 20:34 ` Junio C Hamano
2021-03-08 18:05   ` Taylor Blau
2021-03-08 18:30     ` Jeff King
2021-03-08 18:41     ` Junio C Hamano [this message]

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=xmqqo8ft5vzz.fsf@gitster.c.googlers.com \
    --to=gitster@pobox.com \
    --cc=git@vger.kernel.org \
    --cc=gitgitgadget@gmail.com \
    --cc=hgmaxwellking@gmail.com \
    --cc=ttaylorr@github.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.