Re: [PATCH 3/7] t7415: rename to expand scope
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Oct 5, 2020, 07:50 UTC
- Message-ID
- <20201005075020.GF1166820@google.com>
- In-Reply-To
- <20201005071954.GC2291074@coredump.intra.peff.net>
Jeff King wrote:
Show 12 quoted lines
> This script has already expanded beyond its original intent of ".. in
> submodule names" to include other malicious submodule bits. Let's update
> the name and description to reflect that, as well as the fact that we'll
> soon be adding similar tests for other meta-files (.gitattributes, etc).
> We'll also renumber it to move it out of the group of submodule-specific
> tests.
>
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> ...5-submodule-names.sh => t7450-bad-meta-files.sh} | 13 ++++++++++---
> 1 file changed, 10 insertions(+), 3 deletions(-)
> rename t/{t7415-submodule-names.sh => t7450-bad-meta-files.sh} (95%)I've never heard of a "meta file" before, but I don't tend to discover test scripts based on their filename anyway. :) Thanks for updating the test_description.
t7* is "the porcelainish commands concerning the working tree". Should this go in t1* (basic commands concerning database) instead?
t745* is unused number space so this at least won't hit any conflicts, so fwiw
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>