summary refs log tree commit diff
path: root/config.c
diff options
context:
space:
mode:
authorNeeraj Singh <neerajsi@microsoft.com>2022-03-30 18:08:36 +0000
committerJunio C Hamano <gitster@pobox.com>2022-03-30 14:46:08 -0700
commitf12f3b9807accc0b4ae2b5ebde937fbbb6de7c99 (patch)
treec396386ea534669a7d11e1ca3d5bb8b265da719c /config.c
parente5ec440c982417d39908b9a4bab79523a6a37f6c (diff)
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>
Diffstat (limited to 'config.c')
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index fd8e165931..b8497b9fa7 100644
--- 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;
 	}