[PATCH] core.fsyncmethod: correctly camel-case warning message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Neeraj Singh <neerajsi@xxxxxxxxxxxxx>

The warning for an unrecognized fsyncMethod was not
camel-cased.

Reported-by: Jiang Xin <worldhello.net@xxxxxxxxx>
Signed-off-by: Neeraj Singh <neerajsi@xxxxxxxxxxxxx>
---
    core.fsyncmethod: correctly camel-case warning message
    
    The warning for an unrecognized fsyncMethod was not camel-cased.
    
    Reported-by: Jiang Xin worldhello.net@xxxxxxxxx Signed-off-by: Neeraj
    Singh neerajsi@xxxxxxxxxxxxx
    
    ------------------------------------------------------------------------
    
    See
    https://lore.kernel.org/git/CANYiYbFjRMV-_opvFn78mq7tgtZFMrfPyDjDa+kyaZZfk_LmWQ@xxxxxxxxxxxxxx/
    where this was reported.
    
    This fixes a problem in ns/core-fsyncmethod. Please apply to 'master'.

Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1193%2Fneerajsi-msft%2Fns%2FcamelCase-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1193/neerajsi-msft/ns/camelCase-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1193

 config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config.c b/config.c
index 3c9b6b589ab..9eb0dbb448b 100644
--- a/config.c
+++ b/config.c
@@ -1695,7 +1695,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;
 	}

base-commit: 1d4f13e63720fb8eae39afa215199f7d77662dba
-- 
gitgitgadget



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux