From: Akiyoshi Kurita <weibu@redadmin.org>
To: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, corbet@lwn.net, akiyks@gmail.com,
Akiyoshi Kurita <weibu@redadmin.org>
Subject: [PATCH] docs: ja_JP: add guidance for the Fixes: tag in SubmittingPatches
Date: Fri, 5 Sep 2025 12:27:29 +0900 [thread overview]
Message-ID: <20250905032729.2284883-1-weibu@redadmin.org> (raw)
The Japanese translation of SubmittingPatches was missing the section
describing the use of the 'Fixes:' tag. This patch adds the missing
description, aligning the translation with commit 8401aa1f5997
("Documentation/SubmittingPatches: describe the Fixes: tag") in the
English version.
Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
.../translations/ja_JP/SubmittingPatches | 21 +++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/Documentation/translations/ja_JP/SubmittingPatches b/Documentation/translations/ja_JP/SubmittingPatches
index 5334db471744..28ad83171252 100644
--- a/Documentation/translations/ja_JP/SubmittingPatches
+++ b/Documentation/translations/ja_JP/SubmittingPatches
@@ -132,6 +132,27 @@ http://savannah.nongnu.org/projects/quilt
platform_set_drvdata(), but left the variable "dev" unused,
delete it.
+特定のコミットのバグを修正するパッチの場合(例:``git bisect``で問題を発見した場合)、
+少なくとも SHA-1 ID の最初の 12 文字と 1 行の要約を記載した「Fixes:」タグを使用してください。
+タグを複数行に分割しないでください。解析スクリプトを簡素化するため、タグは
+「75 文字で折り返す」ルールから除外されます。
+
+例:
+
+ Fixes: 54a4f0239f2e ("KVM: MMU: make kvm_mmu_zap_page() return the number of pages it actually freed")
+
+以下の ``git config`` 設定を使用すると、``git log`` や ``git show`` コマンドで
+上記形式を出力する際にプリティフォーマットを追加できます::
+
+ [core]
+ abbrev = 12
+ [pretty]
+ fixes = Fixes: %h (\"%s\")
+
+呼び出し例::
+
+ $ git log -1 --pretty=fixes 54a4f0239f2e
+ Fixes: 54a4f0239f2e ("KVM: MMU: make kvm_mmu_zap_page() return the number of pages it actually freed")
3) パッチの分割
--
2.47.3
next reply other threads:[~2025-09-05 3:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-05 3:27 Akiyoshi Kurita [this message]
2025-09-05 9:48 ` [PATCH] docs: ja_JP: add guidance for the Fixes: tag in SubmittingPatches Akira Yokosawa
2025-09-05 9:59 ` weibu
2025-09-05 11:14 ` [PATCH v2] docs: ja_JP: SubmittingPatches: document the 'Fixes:' tag (+example) Akiyoshi Kurita
2025-09-05 15:14 ` Akira Yokosawa
2025-09-05 15:36 ` weibu
-- strict thread matches above, loose matches on Subject: below --
2025-09-04 15:03 [PATCH] docs: ja_JP: add guidance for the Fixes: tag in SubmittingPatches Akiyoshi Kurita
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=20250905032729.2284883-1-weibu@redadmin.org \
--to=weibu@redadmin.org \
--cc=akiyks@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox