summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2018-09-21 23:04:45 (GMT)
committerJunio C Hamano <gitster@pobox.com>2018-09-25 20:32:08 (GMT)
commit7987d2232d1bcadeb13779af6917044c8cf9ba95 (patch)
tree71f4135df5753004b4df914ec183e2a561de2247 /builtin/receive-pack.c
parent7043c7071cdbdef60ce8413f425da622b8e6dc85 (diff)
downloadgit-7987d2232d1bcadeb13779af6917044c8cf9ba95.zip
git-7987d2232d1bcadeb13779af6917044c8cf9ba95.tar.gz
git-7987d2232d1bcadeb13779af6917044c8cf9ba95.tar.bz2
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>
Diffstat (limited to 'builtin/receive-pack.c')
-rw-r--r--builtin/receive-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/receive-pack.c b/builtin/receive-pack.c
index ce81920..8744faf 100644
--- a/builtin/receive-pack.c
+++ b/builtin/receive-pack.c
@@ -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);