[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20250904114354.2168571-1-akito5623@gmail.com>
Date: Thu, 4 Sep 2025 20:43:51 +0900
From: Akiyoshi Kurita <akito5623@...il.com>
To: akiyks@...il.com, corbet@....net
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
kurita <akito5623@...il.com>
Subject: [PATCH] docs: ja_JP: Update SubmittingPatches based on commit 8401aa1f5997
From: kurita <akito5623@...il.com>
The Japanese translation of SubmittingPatches is outdated.
This patch adds the full description for the 'Fixes:' tag,
aligning the translation with the original English change
introduced in commit 8401aa1f5997 ("Documentation/SubmittingPatches:
describe the Fixes: tag").
---
.../translations/ja_JP/SubmittingPatches | 24 +++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/Documentation/translations/ja_JP/SubmittingPatches b/Documentation/translations/ja_JP/SubmittingPatches
index 5334db471744..96f1d80dfcbd 100644
--- a/Documentation/translations/ja_JP/SubmittingPatches
+++ b/Documentation/translations/ja_JP/SubmittingPatches
@@ -132,6 +132,26 @@ 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) パッチの分割
@@ -465,6 +485,10 @@ Suggested-by: タグは、パッチのアイデアがその人からの提案に
クレジットしていけば、望むらくはその人たちが将来別の機会に再度力を貸す気に
なってくれるかもしれません。
+パッチが特定のコミットのバグを修正するものである場合、
+(例えば、``git bisect`` を使用して問題を発見した場合など)、
+SHA-1 ID の最初の 12 文字以上と 1 行の要約を含む「Fixes:」タグを使用してください。
+
15) 標準的なパッチのフォーマット
標準的なパッチのサブジェクトは以下のとおりです。
--
2.47.3
Powered by blists - more mailing lists