Skip to content

Commit

Permalink
core.fsyncmethod: correctly camel-case warning message
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
neerajsi-msft authored and gitster committed Mar 30, 2022
1 parent e5ec440 commit f12f3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f12f3b9

Please sign in to comment.