]> git.ipfire.org Git - thirdparty/git.git/commitdiff
core.fsyncmethod: correctly camel-case warning message
authorNeeraj Singh <neerajsi@microsoft.com>
Wed, 30 Mar 2022 18:08:36 +0000 (18:08 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 30 Mar 2022 21:46:08 +0000 (14:46 -0700)
The warning for an unrecognized fsyncMethod was not
camel-cased.

Reported-by: Jiang Xin <worldhello.net@gmail.com>
Signed-off-by: Neeraj Singh <neerajsi@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c

index fd8e16593120c1e96ee76a01d2d32286db274139..b8497b9fa79d143fa56d9e3c1577e44be9c71968 100644 (file)
--- a/config.c
+++ b/config.c
@@ -1694,7 +1694,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb)
 
        if (!strcmp(var, "core.fsyncobjectfiles")) {
                if (fsync_object_files < 0)
-                       warning(_("core.fsyncobjectfiles is deprecated; use core.fsync instead"));
+                       warning(_("core.fsyncObjectFiles is deprecated; use core.fsync instead"));
                fsync_object_files = git_config_bool(var, value);
                return 0;
        }