Skip to content

Commit 7987d22

Browse files
peffgitster
authored andcommitted
receive-pack: update comment with check_everything_connected
That function is now called "check_connected()", but we forgot to update this comment in 7043c70 (check_everything_connected: use a struct with named options, 2016-07-15). Signed-off-by: Jeff King <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7043c70 commit 7987d22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/receive-pack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1628,7 +1628,7 @@ static void prepare_shallow_update(struct command *commands,
16281628
/*
16291629
* keep hooks happy by forcing a temporary shallow file via
16301630
* 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
16321632
* true .git/shallow though.
16331633
*/
16341634
setenv(GIT_SHALLOW_FILE_ENVIRONMENT, alt_shallow_file, 1);

0 commit comments

Comments
 (0)