git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC/PATCH] pack-redundant: escalate deprecation warning to an error

From
Junio C Hamano <gitster@pobox.com>
Date
Mar 23, 2023, 20:56 UTC
Message-ID
<xmqqlejn6vb9.fsf@gitster.g>
In-Reply-To
<20230323204047.GA9290@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> I was looking in this file recently, and was reminded of the deprecation
> plan. The two data points above do give me a little bit of pause, but it
> seems like the current state is the worst of both worlds: we do not have
> the benefit of dropping the code, and people who try to use the command
> have a bad experience. So we should probably either proceed (as with
> this patch), or decide we need to keep pack-redundant.
Sounds like a good thing to do.  Will queue.  Thanks.
Show 16 quoted lines
>
>  builtin/pack-redundant.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/builtin/pack-redundant.c b/builtin/pack-redundant.c
> index 82115c5808c..5e93d873208 100644
> --- a/builtin/pack-redundant.c
> +++ b/builtin/pack-redundant.c
> @@ -604,6 +604,7 @@ int cmd_pack_redundant(int argc, const char **argv, const char *prefix)
>  			"option, '--i-still-use-this', on the command line\n"
>  			"and let us know you still use it by sending an e-mail\n"
>  			"to <git@vger.kernel.org>.  Thanks.\n"), stderr);
> +		die(_("refusing to run without --i-still-use-this"));
>  	}
>  
>  	if (load_all_packs)
Previous: Jeff KingNext: Taylor Blau
Message 2 of 5 in “pack-redundant: escalate deprecation warning to an error”
  1. pack-redundant: escalate deprecation warning to an errorJeff King, Mar 23, 2023
  2. Junio C HamanoMar 23, 2023
  3. Taylor BlauMar 23, 2023
  4. Junio C HamanoMar 23, 2023
  5. pack-redundant: document deprecationJeff King, Mar 28, 2023

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.