"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Omar Polo <op@omarpolo.com>
Subject:
Re: gotd: Fix more double process names
To:
Josiah Frentsos <jfrent@tilde.team>
Cc:
gameoftrees@openbsd.org
Date:
Sat, 04 Mar 2023 09:57:01 +0100

Download raw body.

Thread
On 2023/03/03 09:06:15 -0500, Josiah Frentsos <jfrent@tilde.team> wrote:
> diff 038b5b12dddbc93e926a6446737f35122838decf 6221bdf771a3f2638d2aca0a58162261424f2ca6
> commit - 038b5b12dddbc93e926a6446737f35122838decf
> commit + 6221bdf771a3f2638d2aca0a58162261424f2ca6
> blob - 378a3faff5b94e566a97bc638b8a0b4abdb6ad22
> blob + 9ae371a9074ffd06f78b8c1406d152e968e07356
> --- gotd/repo_read.c
> +++ gotd/repo_read.c
> @@ -929,7 +929,7 @@ repo_read_shutdown(void)
>  {
>  	struct repo_read_client *client = &repo_read_client;
>  
> -	log_debug("%s: shutting down", repo_read.title);
> +	log_debug("shutting down");
>  
>  	if (client->have_ids)
>  		got_object_idset_free(client->have_ids);
> blob - 1bdc33841ab4da7acfd56bcad536f26eee4ff1d7
> blob + ddff15503853f7b1cac9768b3e01d145a3dd7899
> --- gotd/repo_write.c
> +++ gotd/repo_write.c
> @@ -1504,7 +1504,7 @@ repo_write_shutdown(void)
>  	struct repo_write_client *client = &repo_write_client;
>  	struct gotd_ref_update *ref_update;
>  
> -	log_debug("%s: shutting down", repo_write.title);
> +	log_debug("shutting down");
>  
>  	while (!STAILQ_EMPTY(&client->ref_updates)) {
>  		ref_update = STAILQ_FIRST(&client->ref_updates);

Committed, thanks!

I've also committed a larger follow-up diff that removes the other
double process name in logs, hopefully we've got the all this time! :)