am: improve author-script error reporting
[gitweb.git] / builtin / receive-pack.c
index 4d30001950ae176201d47f745acfe0a2ea73d7cc..95740f4f0e71de95484edf53a2b86dc71952c5a7 100644 (file)
@@ -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);