From: Akiyoshi Kurita <weibu@redadmin.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: Akira Yokosawa <akiyks@gmail.com>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Akiyoshi Kurita <weibu@redadmin.org>
Subject: [PATCH v1] docs/ja_JP: translate submitting-patches.rst (base tree)
Date: Fri, 4 Dec 2026 21:24:59 +0900 [thread overview]
Message-ID: <20261204122459.372971-1-weibu@redadmin.org> (raw)
Translate the sections on explicit In-Reply-To headers
and providing base tree information into Japanese.
Preserve the original command examples and reStructuredText markup.
Signed-off-by: Akiyoshi Kurita <weibu@redadmin.org>
---
.../ja_JP/process/submitting-patches.rst | 84 +++++++++++++++++++
1 file changed, 84 insertions(+)
diff --git a/Documentation/translations/ja_JP/process/submitting-patches.rst b/Documentation/translations/ja_JP/process/submitting-patches.rst
index c98ef4b5b527..383f2212e739 100644
--- a/Documentation/translations/ja_JP/process/submitting-patches.rst
+++ b/Documentation/translations/ja_JP/process/submitting-patches.rst
@@ -892,3 +892,87 @@ From 行
...
適切なパッチ形式の詳細については、以下の資料を参照してください。
+
+.. _jp_explicit_in_reply_to:
+
+明示的な In-Reply-To ヘッダー
+------------------------------
+
+パッチを以前の関連する議論と結び付けるために、
+``git send-email`` などを使用して、``In-Reply-To:`` ヘッダーを
+手動で追加すると役立つ場合があります。例えば、バグ修正パッチを
+そのバグの報告メールに関連付ける場合です。
+
+ただし、複数のパッチからなるシリーズでは、通常、古いバージョンの
+シリーズに関連付けるために ``In-Reply-To:`` を使用することは
+避けた方がよいでしょう。これにより、複数のバージョンのパッチが
+メールソフト上で管理しきれないほど複雑な参照関係を形成することを
+防げます。
+
+以前のパッチシリーズへのリンクが役立つ場合は、
+https://lore.kernel.org/ のリダイレクターを使用できます。
+例えば、カバーレターの本文に以前のバージョンへのリンクを
+記載することができます。
+
+
+ベースツリー情報の提供
+----------------------
+
+他の開発者がパッチを受け取り、レビューを開始する際には、
+そのパッチがどのベースコミットやブランチに適用されるものなのかを
+把握できることが不可欠です。現在は多数のメンテナーツリーが
+存在するため、この情報は特に重要です。前述した
+MAINTAINERS ファイルの **T:** エントリについても
+再度確認してください。
+
+メンテナーがレビューを開始する前に、提出されたパッチの品質を
+確認するため、一連のテストを実行しようとする自動 CI
+プロセスにとっては、さらに重要です。
+
+``git format-patch`` を使用してパッチを生成する場合は、
+``--base`` オプションを指定することで、ベースツリー情報を
+提出するパッチに自動的に含めることができます。
+このオプションを最も簡単かつ便利に使用する方法は、
+特定の作業用ブランチを利用することです::
+
+ $ git checkout -t -b my-topical-branch master
+ Branch 'my-topical-branch' set up to track local branch 'master'.
+ Switched to a new branch 'my-topical-branch'
+
+ [perform your edits and commits]
+
+ $ git format-patch --base=auto --cover-letter -o outgoing/ master
+ outgoing/0000-cover-letter.patch
+ outgoing/0001-First-Commit.patch
+ outgoing/...
+
+``outgoing/0000-cover-letter.patch`` を編集するために開くと、
+末尾に ``base-commit:`` トレーラーが追加されていることが
+わかります。これにより、レビューアや CI ツールは、
+競合を心配することなく ``git am`` を適切に実行するために
+必要な情報を得られます::
+
+ $ git checkout -b patch-review [base-commit-id]
+ Switched to a new branch 'patch-review'
+ $ git am patches.mbox
+ Applying: First Commit
+ Applying: ...
+
+このオプションの詳細については、``man git-format-patch`` を
+参照してください。
+
+.. note::
+
+ ``--base`` 機能は git バージョン 2.9.0 で導入されました。
+
+パッチの生成に git を使用しない場合でも、作業の基点となった
+ツリーのコミットハッシュを示すために、同じ ``base-commit``
+トレーラーを含めることができます。
+
+この情報は、カバーレターまたはパッチシリーズの最初のパッチに
+追加してください。配置する場所は ``---`` 区切り行より下、
+または他のすべての内容の末尾で、メールの署名の直前にしてください。
+
+ベースコミットは、公式のメンテナーツリーまたは mainline ツリーに
+存在するものを指定してください。自分だけがアクセスできる
+内部ツリーのコミットを指定しても、他の開発者には役立ちません。
--
2.52.1
reply other threads:[~2026-12-04 12:25 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=20261204122459.372971-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 \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.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