All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Neeraj K. Singh via GitGitGadget" <gitgitgadget@gmail.com>
To: git@vger.kernel.org
Cc: worldhello.net@gmail.com,
	"Neeraj K. Singh" <neerajsi@microsoft.com>,
	Neeraj Singh <neerajsi@microsoft.com>
Subject: [PATCH] core.fsyncmethod: correctly camel-case warning message
Date: Wed, 30 Mar 2022 18:08:36 +0000	[thread overview]
Message-ID: <pull.1193.git.1648663716891.gitgitgadget@gmail.com> (raw)

From: Neeraj Singh <neerajsi@microsoft.com>

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>
---
    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
    
    ------------------------------------------------------------------------
    
    See
    https://lore.kernel.org/git/CANYiYbFjRMV-_opvFn78mq7tgtZFMrfPyDjDa+kyaZZfk_LmWQ@mail.gmail.com/
    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

                 reply	other threads:[~2022-03-30 18:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=pull.1193.git.1648663716891.gitgitgadget@gmail.com \
    --to=gitgitgadget@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=neerajsi@microsoft.com \
    --cc=worldhello.net@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.