From patchwork Wed Feb 24 20:26:39 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junio C Hamano X-Patchwork-Id: 12102787 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 82B57C433DB for ; Wed, 24 Feb 2021 20:27:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 3848864E20 for ; Wed, 24 Feb 2021 20:27:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235269AbhBXU1d (ORCPT ); Wed, 24 Feb 2021 15:27:33 -0500 Received: from pb-smtp21.pobox.com ([173.228.157.53]:61480 "EHLO pb-smtp21.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234346AbhBXU1b (ORCPT ); Wed, 24 Feb 2021 15:27:31 -0500 Received: from pb-smtp21.pobox.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id EC563117E2B; Wed, 24 Feb 2021 15:26:49 -0500 (EST) (envelope-from gitster@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=/bl8DfMvwCptDHKW+aQtJrXip CU=; b=GxOeVu99ZP4Tfz3XKP1Y9QO7cCuD6WJCCHQhUS2F6zk76THD8WK0TNPK3 YJRyuPY7GSBkpOfdrC/Nt1NZEhZGyvfM9ZMEg49ZtT5fBWL9UC2OzSV8kEY+lHSl NR5FuxOJJoQ8ZEEL1r2kmTkn0dQpDdzDRV8y6KudTwrln5sdxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=sasl; b=UiCmkMyiEG9K5VBhrI7 tWjZs45izQpQwDmLhy4SWOFZetO919WbU1Hpkf1v6yj/I9UJtZlV8RxXCnvHO9/i 8hZ4dY9ZOisOFwxiOCrX0GfSRQGrp3U3Q1qL+HELiWcAckLbZSyeo1v9QabnW8Qo TvEQNd1Q2t74vfOlVmN914q8= Received: from pb-smtp21.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp21.pobox.com (Postfix) with ESMTP id E5215117E29; Wed, 24 Feb 2021 15:26:49 -0500 (EST) (envelope-from gitster@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp21.pobox.com (Postfix) with ESMTPSA id 30209117E25; Wed, 24 Feb 2021 15:26:47 -0500 (EST) (envelope-from gitster@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Cc: Denton Liu Subject: [PATCH v3 1/3] i18n.txt: camel case and monospace "i18n.commitEncoding" Date: Wed, 24 Feb 2021 12:26:39 -0800 Message-Id: <20210224202641.913770-2-gitster@pobox.com> X-Mailer: git-send-email 2.30.1-826-g07a034c5ea In-Reply-To: <20210224202641.913770-1-gitster@pobox.com> References: <20210224202641.913770-1-gitster@pobox.com> MIME-Version: 1.0 X-Pobox-Relay-ID: 9E180F02-76DE-11EB-9346-D609E328BF65-77302942!pb-smtp21.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Denton Liu In 95791be750 (doc: camelCase the i18n config variables to improve readability, 2017-07-17), the other i18n config variables were camel cased. However, this one instance was missed. Camel case and monospace "i18n.commitEncoding" so that it matches the surrounding text. Signed-off-by: Denton Liu [jc: fixed 3 other mistakes that are exactly the same] Signed-off-by: Junio C Hamano --- Documentation/git-am.txt | 2 +- Documentation/git-mailinfo.txt | 4 ++-- Documentation/i18n.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/git-am.txt b/Documentation/git-am.txt index 06bc063542..decd8ae122 100644 --- a/Documentation/git-am.txt +++ b/Documentation/git-am.txt @@ -79,7 +79,7 @@ OPTIONS Pass `-u` flag to 'git mailinfo' (see linkgit:git-mailinfo[1]). The proposed commit log message taken from the e-mail is re-coded into UTF-8 encoding (configuration variable - `i18n.commitencoding` can be used to specify project's + `i18n.commitEncoding` can be used to specify project's preferred encoding if it is not UTF-8). + This was optional in prior versions of git, but now it is the diff --git a/Documentation/git-mailinfo.txt b/Documentation/git-mailinfo.txt index 7a6aed0e30..d343f040f5 100644 --- a/Documentation/git-mailinfo.txt +++ b/Documentation/git-mailinfo.txt @@ -53,7 +53,7 @@ character. The commit log message, author name and author email are taken from the e-mail, and after minimally decoding MIME transfer encoding, re-coded in the charset specified by - i18n.commitencoding (defaulting to UTF-8) by transliterating + `i18n.commitEncoding` (defaulting to UTF-8) by transliterating them. This used to be optional but now it is the default. + Note that the patch is always used as-is without charset @@ -61,7 +61,7 @@ conversion, even with this flag. --encoding=:: Similar to -u. But when re-coding, the charset specified here is - used instead of the one specified by i18n.commitencoding or UTF-8. + used instead of the one specified by `i18n.commitEncoding` or UTF-8. -n:: Disable all charset re-coding of the metadata. diff --git a/Documentation/i18n.txt b/Documentation/i18n.txt index 7e36e5b55b..6c6baeeeb7 100644 --- a/Documentation/i18n.txt +++ b/Documentation/i18n.txt @@ -38,7 +38,7 @@ mind. a warning if the commit log message given to it does not look like a valid UTF-8 string, unless you explicitly say your project uses a legacy encoding. The way to say this is to - have i18n.commitencoding in `.git/config` file, like this: + have `i18n.commitEncoding` in `.git/config` file, like this: + ------------ [i18n] From patchwork Wed Feb 24 20:26:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junio C Hamano X-Patchwork-Id: 12102789 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C4865C433E0 for ; Wed, 24 Feb 2021 20:27:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8FF7764E20 for ; Wed, 24 Feb 2021 20:27:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235298AbhBXU1n (ORCPT ); Wed, 24 Feb 2021 15:27:43 -0500 Received: from pb-smtp20.pobox.com ([173.228.157.52]:52184 "EHLO pb-smtp20.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235274AbhBXU1d (ORCPT ); Wed, 24 Feb 2021 15:27:33 -0500 Received: from pb-smtp20.pobox.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 8A691112B8F; Wed, 24 Feb 2021 15:26:53 -0500 (EST) (envelope-from gitster@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=XwvXZbg4Eq7tpwDf6pdAiZg1k ig=; b=OApjQF/FE1IuQvIABD1KzdmtYRquNlW3c8WkwJjlwLpv3Y//j78ImFX6M emS95ZNv0Zs7LMhZy+FUK1TvQjWNn6QpCBPH/0H+fWbUL01wizRUGIA9iDBw7CMr sHzPXrVC9ovIU/XQLY7zEJg8/T0Gda3haEK97EmPB5iHrqFiYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=sasl; b=wXMTIDBiMpU1vcRVz+Z Hokl7c3ptgz9w5JxaogD2qgXAJ5k5YomX+ZNA5cgqU2u9en722DSqEEuk1dB6Nxm vz2pUGfjWI6nMEsPapNnABwyjZqLHCiZlagPvNQSlGfOYRhU1PmH9QT5NfhKI7+8 HPakXVU4bDhhQwI6/Vid+lHE= Received: from pb-smtp20.sea.icgroup.com (unknown [127.0.0.1]) by pb-smtp20.pobox.com (Postfix) with ESMTP id 833E8112B8E; Wed, 24 Feb 2021 15:26:53 -0500 (EST) (envelope-from gitster@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp20.pobox.com (Postfix) with ESMTPSA id C9B59112B8D; Wed, 24 Feb 2021 15:26:50 -0500 (EST) (envelope-from gitster@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Subject: [PATCH v3 2/3] blame-options.txt: camelcase blame.blankBoundary Date: Wed, 24 Feb 2021 12:26:40 -0800 Message-Id: <20210224202641.913770-3-gitster@pobox.com> X-Mailer: git-send-email 2.30.1-826-g07a034c5ea In-Reply-To: <20210224202641.913770-1-gitster@pobox.com> References: <20210224202641.913770-1-gitster@pobox.com> MIME-Version: 1.0 X-Pobox-Relay-ID: A0416260-76DE-11EB-AB08-E43E2BB96649-77302942!pb-smtp20.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org All other references to blame.* configuration variables are camelCased already. Update this one to match. Signed-off-by: Junio C Hamano --- Documentation/blame-options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/blame-options.txt b/Documentation/blame-options.txt index dc3bceb6d1..117f4cf806 100644 --- a/Documentation/blame-options.txt +++ b/Documentation/blame-options.txt @@ -1,6 +1,6 @@ -b:: Show blank SHA-1 for boundary commits. This can also - be controlled via the `blame.blankboundary` config option. + be controlled via the `blame.blankBoundary` config option. --root:: Do not treat root commits as boundaries. This can also be From patchwork Wed Feb 24 20:26:41 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junio C Hamano X-Patchwork-Id: 12102791 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 45C73C433DB for ; Wed, 24 Feb 2021 20:27:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0F84F60202 for ; Wed, 24 Feb 2021 20:27:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235306AbhBXU1o (ORCPT ); Wed, 24 Feb 2021 15:27:44 -0500 Received: from pb-smtp2.pobox.com ([64.147.108.71]:64857 "EHLO pb-smtp2.pobox.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234346AbhBXU1m (ORCPT ); Wed, 24 Feb 2021 15:27:42 -0500 Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id C797F95F41; Wed, 24 Feb 2021 15:26:53 -0500 (EST) (envelope-from gitster@pobox.com) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=sasl; bh=r8Mj2h52tJJTeoxhAR6EhTYFa 0I=; b=ALCBwtk8IJHUm0Y5/atb4n4m9bUhwQ3b7z8M2v8QXp7b83Tpkbm3+SPbs 1erDgIjF4bEfVh/MyxJelkrc4kUYZY0Lm5UL5IXpxDx/so0jyYSo2EHpkLXRZhY5 CJ8Vfmwb5FRAomXl1ZkxSqboJuwXLzzGAX01Zkpitp0NUboTk8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:subject :date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; q=dns; s=sasl; b=K9l2X8fZ+vqZFn6biGu 1afxCZ9hvpEUaZZn+ZmBqA8a/RDQaakvKCg6rHtkt/dBHrHYQWgzcbCRiVpVPRU7 6BDaNwbjNBSKqul6U60Y1NuuKLF5JmKLD2dtdhwjnruEiNXfhYinDaKJk1KEy5s0 kz5XY2X0hB8htKuaC4I4s12g= Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id BD9F595F40; Wed, 24 Feb 2021 15:26:53 -0500 (EST) (envelope-from gitster@pobox.com) Received: from pobox.com (unknown [34.74.119.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 5163295F3E; Wed, 24 Feb 2021 15:26:53 -0500 (EST) (envelope-from gitster@pobox.com) From: Junio C Hamano To: git@vger.kernel.org Subject: [PATCH v3 3/3] index-format doc: camelCase core.excludesFile Date: Wed, 24 Feb 2021 12:26:41 -0800 Message-Id: <20210224202641.913770-4-gitster@pobox.com> X-Mailer: git-send-email 2.30.1-826-g07a034c5ea In-Reply-To: <20210224202641.913770-1-gitster@pobox.com> References: <20210224202641.913770-1-gitster@pobox.com> MIME-Version: 1.0 X-Pobox-Relay-ID: A1C0368E-76DE-11EB-92B8-74DE23BA3BAF-77302942!pb-smtp2.pobox.com Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Signed-off-by: Junio C Hamano --- Documentation/technical/index-format.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/technical/index-format.txt b/Documentation/technical/index-format.txt index 69edf46c03..8af608055f 100644 --- a/Documentation/technical/index-format.txt +++ b/Documentation/technical/index-format.txt @@ -251,14 +251,14 @@ Git index format - Stat data of $GIT_DIR/info/exclude. See "Index entry" section from ctime field until "file size". - - Stat data of core.excludesfile + - Stat data of core.excludesFile - 32-bit dir_flags (see struct dir_struct) - Hash of $GIT_DIR/info/exclude. A null hash means the file does not exist. - - Hash of core.excludesfile. A null hash means the file does + - Hash of core.excludesFile. A null hash means the file does not exist. - NUL-terminated string of per-dir exclude file name. This usually