summaryrefslogtreecommitdiff
path: root/builtin/receive-pack.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:16:04 +0900
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-10-16 16:16:04 +0900
commit20e0ef6a0379bd5fb88fd7435b99f287045b2b30 (patch)
tree06cff3c2d417ce3c844f2145b2c5c9957391bbef /builtin/receive-pack.c
parentMerge branch 'jn/gc-auto' (diff)
parentreceive-pack: update comment with check_everything_connected (diff)
downloadtgif-20e0ef6a0379bd5fb88fd7435b99f287045b2b30.tar.xz
Merge branch 'jk/check-everything-connected-is-long-gone'
Comment fix. * jk/check-everything-connected-is-long-gone: receive-pack: update comment with check_everything_connected
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 4d30001950..95740f4f0e 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);