diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c index 6c047b5e28..95eb7002ee 100644 --- a/builtin/receive-pack.c +++ b/builtin/receive-pack.c @@ -1839,7 +1839,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);