From: Taylor Blau <me@ttaylorr.com>
To: Jeff King <peff@peff.net>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 3/3] t: drop "verbose" helper function
Date: Mon, 8 May 2023 18:26:12 -0400 [thread overview]
Message-ID: <ZFl3BCzDwetyAkyQ@nand.local> (raw)
In-Reply-To: <20230508190457.GC2366490@coredump.intra.peff.net>
On Mon, May 08, 2023 at 03:04:57PM -0400, Jeff King wrote:
> Let's consider the "verbose" function a failed experiment and remove the
> last few callers (which are all many years old, and have been dwindling
> as we remove them from scripts we touch for other reasons). It will be
> one less thing for new test writers to see and wonder if they should be
> using themselves.
Well put.
> I think this should be all calls. Most tests will fail after removing
> the function, of course, but it's possible one could be hiding in an
> expect_failure or something. I didn't see any after grepping for
> '[^-]verbose' in t/, which is not too long to look through.
>
> t/t0020-crlf.sh | 38 +++++++++++++++++++-------------------
> t/t1301-shared-repo.sh | 4 ++--
> t/t3427-rebase-subtree.sh | 12 ++++++------
> t/t4022-diff-rewrite.sh | 2 +-
> t/t4062-diff-pickaxe.sh | 2 +-
> t/t5304-prune.sh | 16 ++++++++--------
> t/t6006-rev-list-format.sh | 2 +-
> t/t6501-freshen-objects.sh | 2 +-
> t/t7001-mv.sh | 2 +-
> t/t7300-clean.sh | 4 ++--
> t/t9902-completion.sh | 30 +++++++++++++++---------------
> t/test-lib-functions.sh | 9 ---------
> 12 files changed, 57 insertions(+), 66 deletions(-)
I applied these myself and grepped around myself, and also could not
find any stragglers. So I'd be happy to drop the implementation of
verbose() in this series, too, to avoid the appearance of it continuing
to be a blessed path.
Thanks,
Taylor
next prev parent reply other threads:[~2023-05-08 22:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-08 18:59 [PATCH 0/3] dropping "verbose" test helper function Jeff King
2023-05-08 19:01 ` [PATCH 1/3] t7001: avoid git on upstream of pipe Jeff King
2023-05-08 19:01 ` [PATCH 2/3] t7001: use "ls-files --format" instead of "cut" Jeff King
2023-05-08 19:04 ` [PATCH 3/3] t: drop "verbose" helper function Jeff King
2023-05-08 22:26 ` Taylor Blau [this message]
2023-05-08 22:26 ` [PATCH 0/3] dropping "verbose" test " Taylor Blau
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=ZFl3BCzDwetyAkyQ@nand.local \
--to=me@ttaylorr.com \
--cc=git@vger.kernel.org \
--cc=peff@peff.net \
/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 NNTP newsgroup(s).