receive-pack: update comment with check_everything_connected

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> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Sep 21, 2018 at 19:04 UTC 7987d2232d1bcadeb13779af6917044c8cf9ba95
1 file changed +1 -1
builtin/receive-pack.c
+1 -1
@@ -1628,7 +1628,7 @@ static void prepare_shallow_update(struct command *commands,
1628 /*
1629 * keep hooks happy by forcing a temporary shallow file via
1630 * env variable because we can't add --shallow-file to every
1631 - * command. check_everything_connected() will be done with
1631 + * command. check_connected() will be done with
1632 * true .git/shallow though.
1633 */
1634 setenv(GIT_SHALLOW_FILE_ENVIRONMENT, alt_shallow_file, 1);