{"thread":{"id":"57636","subject":"[PATCH] core.fsyncmethod: correctly camel-case warning message","startedAt":"2022-03-30T18:08:47Z","lastAt":"2022-03-30T18:08:47Z","messageCount":1,"participants":["Neeraj K. Singh via GitGitGadget"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"452684","messageId":"pull.1193.git.1648663716891.gitgitgadget@gmail.com","threadId":"57636","inReplyTo":null,"subject":"[PATCH] core.fsyncmethod: correctly camel-case warning message","fromName":"Neeraj K. Singh via GitGitGadget","fromEmail":"gitgitgadget@gmail.com","sentAt":"2022-03-30T18:08:36Z","receivedAt":"2022-03-30T18:08:47Z","isPatch":true,"sender":{"key":"name:Neeraj K. Singh","avatar":null},"body":"From: Neeraj Singh <neerajsi@microsoft.com>\n\nThe warning for an unrecognized fsyncMethod was not\ncamel-cased.\n\nReported-by: Jiang Xin <worldhello.net@gmail.com>\nSigned-off-by: Neeraj Singh <neerajsi@microsoft.com>\n---\n    core.fsyncmethod: correctly camel-case warning message\n    \n    The warning for an unrecognized fsyncMethod was not camel-cased.\n    \n    Reported-by: Jiang Xin worldhello.net@gmail.com Signed-off-by: Neeraj\n    Singh neerajsi@microsoft.com\n    \n    ------------------------------------------------------------------------\n    \n    See\n    https://lore.kernel.org/git/CANYiYbFjRMV-_opvFn78mq7tgtZFMrfPyDjDa+kyaZZfk_LmWQ@mail.gmail.com/\n    where this was reported.\n    \n    This fixes a problem in ns/core-fsyncmethod. Please apply to 'master'.\n\nPublished-As: https://github.com/gitgitgadget/git/releases/tag/pr-1193%2Fneerajsi-msft%2Fns%2FcamelCase-v1\nFetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1193/neerajsi-msft/ns/camelCase-v1\nPull-Request: https://github.com/gitgitgadget/git/pull/1193\n\n config.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/config.c b/config.c\nindex 3c9b6b589ab..9eb0dbb448b 100644\n--- a/config.c\n+++ b/config.c\n@@ -1695,7 +1695,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb)\n \n \tif (!strcmp(var, \"core.fsyncobjectfiles\")) {\n \t\tif (fsync_object_files < 0)\n-\t\t\twarning(_(\"core.fsyncobjectfiles is deprecated; use core.fsync instead\"));\n+\t\t\twarning(_(\"core.fsyncObjectFiles is deprecated; use core.fsync instead\"));\n \t\tfsync_object_files = git_config_bool(var, value);\n \t\treturn 0;\n \t}\n\nbase-commit: 1d4f13e63720fb8eae39afa215199f7d77662dba\n-- \ngitgitgadget\n"}]}