From nobody Fri Jun 26 20:02:25 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gn65s5FFLz6hpC1 for ; Fri, 26 Jun 2026 20:02:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gn65s4GdLz3lGN for ; Fri, 26 Jun 2026 20:02:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782504145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JUSHYZ5CXWy9pmnMADpify1VUiYpkzql9nCbybDKvOU=; b=aSQor6Sg/fOzWwVH36gnL4uDXkHp+HC6jY2LTVI079lYV8sZwuvje7g4BJrI/rpSdtNsW7 1teXQnfP2A7688loqXQ1qIZqBfp96gKkhXdQnbYQrGYPDHD4EUSlZzDHCUcZmzi+cUJaZu qn0ak+sWeAnhQT4BBtxGtY8Q3da/Fh3R1LhKOrQqUD/T6InfQpjTtNtkg9jmH/BPNgWeAG MmOTMJqNNKggLvo19M/d/4wdAUpe/L6qdQWu8VKVNb9imDBOytQSxcBmICN7GJs7VjxDkt 2IhLPpeXTEf38zrKY7grH3JB2vf258uWrz7MAnbZ2QdTcxkegGeCIsDfUbY3Gg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782504145; a=rsa-sha256; cv=none; b=yFZHDQPqMNXjTyqtkETKV/pkh/x8V6sIPGWbK1abCsyZyPNrHWxHK4ccXL7dcGtLhpghsJ xkgE8b6CL84bQPdcNaeKke9XfgudXG3Icx1+NGuPj1HvRe7pwQ1sd3kpMkaVLsmMcflP4N 9qsK7lCe9EWPrXMwS/RhVB24ymQpHkxzZXw+kuVvdwELmnLfTtgy8zy9HRDT1TzIy10+xj R1AOZOFhCNF15duwrPsEVV7ch0PwrW9LptzM8nXp1uuVtP/3OTNozUgB184klVQff5nCQO iL4/Nil/ss400ZBZuCOBlWWfFF2ZbQtPAVJvBIeb61iPbYQIM8TP11PbpRY6fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782504145; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=JUSHYZ5CXWy9pmnMADpify1VUiYpkzql9nCbybDKvOU=; b=aCKV+AFWw1h0/Gk6oQcxYQwMyNph0Ee1KnMXf6OPLBzDbHT4ayPGPRFN0TT8q6O1KmImWo RIMU5SVv3UZdSnCbcJccCku2Fbv7kRnF8TXp8xbptyPfg1GctDoayK7C4BQ/C2+SF3SdgS x/WGUmvXDaL6qrpwSOVJAj+hDgOaowVe2wJVlX8p1Y4q6XFQRRaRZqhaoKE18RcJvpIiV5 KPQAKNDWQYzsstK64Ecg3aFtEkk1glolJnx3zJD9GQI+lKwD9n+qK7dZyrwhEGs3iHa2xG fP1g5XKc0gACOGofKw7uzC7IgjV+7/tWIeOg/p1DwnOc8qLKoMKvoCgJz8m3pg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gn65s39gRzs5n for ; Fri, 26 Jun 2026 20:02:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 47b44 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 26 Jun 2026 20:02:25 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Benedict Reuschling Subject: git: 7dcf0bd633 - main - fdp-primer: Include context in the git format-patch for users to use List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bcr X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7dcf0bd6337554f7a57ca1fe4d1ef79a269a0a23 Auto-Submitted: auto-generated Date: Fri, 26 Jun 2026 20:02:25 +0000 Message-Id: <6a3edad1.47b44.6e93f9df@gitrepo.freebsd.org> The branch main has been updated by bcr: URL: https://cgit.FreeBSD.org/doc/commit/?id=7dcf0bd6337554f7a57ca1fe4d1ef79a269a0a23 commit 7dcf0bd6337554f7a57ca1fe4d1ef79a269a0a23 Author: Benedict Reuschling AuthorDate: 2026-06-26 20:01:05 +0000 Commit: Benedict Reuschling CommitDate: 2026-06-26 20:01:05 +0000 fdp-primer: Include context in the git format-patch for users to use The quick start section did not instruct the reader to include context in the git format-patch example. This is not ideal as it makes reviewing easier. Include this information with a bit of explanation below it. Event: Halifax Hackathon 202606 Location: A different chair than obiwac's Reviewed by: lwhsu Differential Revision: https://reviews.freebsd.org/D57891 --- documentation/content/en/books/fdp-primer/overview/_index.adoc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc index 7f3cca1aa9..e14f2c8476 100644 --- a/documentation/content/en/books/fdp-primer/overview/_index.adoc +++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc @@ -228,10 +228,12 @@ Make sure that all required files are included, then commit the change to your l [source,shell] .... % git commit -% git format-patch origin/main +% git format-patch -U999999 origin/main .... + -Patch generated with `git format-patch` will include author identity and email addresses, +The `-U999999` parameter adds as much context to the patch as possible which makes reviewing easier. + +A patch file is generated as a result of `git format-patch` in the local directory which will include author identity and email addresses, making it easier for developers to apply (with `git am`) and give proper credit. + [IMPORTANT]