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

Re: [PATCH] receive-pack: update comment with check_everything_connected

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 24, 2018, 15:46 UTC
Message-ID
<xmqqbm8muceb.fsf@gitster-ct.c.googlers.com>
In-Reply-To
<20180921230444.GA2713@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 9 quoted lines
> That function is now called "check_connected()", but we forgot to update
> this comment in 7043c7071c (check_everything_connected: use a struct
> with named options, 2016-07-15).
>
> Signed-off-by: Jeff King <peff@peff.net>
> ---
> Just a minor annoyance I happened to notice while discussing in another
> thread. I notice both of us still called it check-everything-connected
> in our emails; old habits die hard, I suppose. ;)
Yup, and now I think I caught up ;-)  Thanks.
Show 17 quoted lines
>
>  builtin/receive-pack.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c
> index a3bb13af10..3b7432c8e4 100644
> --- a/builtin/receive-pack.c
> +++ b/builtin/receive-pack.c
> @@ -1834,7 +1834,7 @@ static void prepare_shallow_update(struct command *commands,
>  	/*
>  	 * keep hooks happy by forcing a temporary shallow file via
>  	 * env variable because we can't add --shallow-file to every
> -	 * command. check_everything_connected() will be done with
> +	 * command. check_connected() will be done with
>  	 * true .git/shallow though.
>  	 */
>  	setenv(GIT_SHALLOW_FILE_ENVIRONMENT, alt_shallow_file, 1);
Previous: Jeff King
Message 2 of 2 in “receive-pack: update comment with check_everything_connected”
  1. receive-pack: update comment with check_everything_connectedJeff King, Sep 21, 2018
  2. Junio C HamanoSep 24, 2018

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.