receive-pack: update comment with check_everything_connected
authorJeff King <peff@peff.net>
Fri, 21 Sep 2018 23:04:45 +0000 (19:04 -0400)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Sep 2018 20:32:08 +0000 (13:32 -0700)
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>
builtin/receive-pack.c
index ce819209a52dfbe883edf8a175c12ae706cef18f..8744faf897e28e8ee3c3d61ec505da2166e3f939 100644 (file)
@@ -1628,7 +1628,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);