Skip to content

Commit f12f3b9

Browse files
neerajsi-msftgitster
authored andcommitted
core.fsyncmethod: correctly camel-case warning message
The warning for an unrecognized fsyncMethod was not camel-cased. Reported-by: Jiang Xin <[email protected]> Signed-off-by: Neeraj Singh <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent e5ec440 commit f12f3b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1694,7 +1694,7 @@ static int git_default_core_config(const char *var, const char *value, void *cb)
16941694

16951695
if (!strcmp(var, "core.fsyncobjectfiles")) {
16961696
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"));
16981698
fsync_object_files = git_config_bool(var, value);
16991699
return 0;
17001700
}

0 commit comments

Comments
 (0)