core.fsyncmethod: correctly camel-case warning message

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>

Neeraj Singh committed Mar 30, 2022 at 18:08 UTC f12f3b9807accc0b4ae2b5ebde937fbbb6de7c99
1 file changed +1 -1
config.c
+1 -1
@@ -1694,7 +1694,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb)
1694
1695 if (!strcmp(var, "core.fsyncobjectfiles")) {
1696 if (fsync_object_files < 0)
1697 - warning(_("core.fsyncobjectfiles is deprecated; use core.fsync instead"));
1697 + warning(_("core.fsyncObjectFiles is deprecated; use core.fsync instead"));
1698 fsync_object_files = git_config_bool(var, value);
1699 return 0;
1700 }