From nobody Fri Jun 26 19:07:48 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 4gn4tr3wYcz6hjqG for ; Fri, 26 Jun 2026 19:07:48 +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 4gn4tr1RcCz3bPN for ; Fri, 26 Jun 2026 19:07:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1782500868; 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=aqyBo6Q+HeH6/RNSM82MkPD65soOw4KUHWfiq9y1REE=; b=RQraOM7agU5DrgMv0MC+BLCRffUbuCAFPKRmQavckQkmZ8sVChUhFtG/eCWPW+eVKiGLdY Mny5XYhXJlSMSl3c+73zcIVGxMsFfRVpGu7mvgGYIKeiwm9/YcRpA05veFz7wxDhZG/D7w 5qjmCbQJlVGEJh7nENRgVl4/uBkhpz00b7NXNfIVZSEMCXWGycBBegVn57Wm404GzG+984 1D55mWP1WvVbdujjpRsxpmnLk0+j5qx1cCMw5LG3Xkjc9jlZP0p1KKhvkUC0qcTUqWTUkR lRYtioc/DT6PV4lEn6/u0eEN+vKb3wEc7fWkru/rKMJb+CfeNyRm5ZQomzgifQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1782500868; a=rsa-sha256; cv=none; b=rII07tQ5sWgzgFvGfAZ7NlPTqIBGepBw9sd8CNivYEsxon26s1VQ2cCZ0lzYCnxIliHFnC CARlP7hSX4azpLxoz7zbTzNBtABerxIKXfGwcTod3SLo0Rgs1+lTAImTSiGXkbZI1ndZXc yYtQkRM3EghudZ1nbbUY/o2DeCj5gRMSoY7Vv42qRCfK/88zrxDfs4u7Ix1pPCXY2ZdVnh aNQAh+jLCI6dVqGu0yMiD3aZM7XpXByVrGnKM9rlpHNmfPcn08FoVctA/VL3E75ggs8/9T PjyqqUIfS7NtQ9VC8h4j/Z0t0Ugpu1gQAeKm/CZHRsV7wSkB+vHuEsY49IPyYw== 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=1782500868; 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=aqyBo6Q+HeH6/RNSM82MkPD65soOw4KUHWfiq9y1REE=; b=e1Ssd7b4+95ido93RmhsRh+8ieggIQEPLCW9+JxbzXbfgZOosclQJjTnhrMsi7UKCbWS4J tUMgJ+V4M1CSIhGYEsT6VTbEtxxdCkkxYHzoW7m61sQqLEvpmvvkE3bht2vI45eljjioZR SwmO9H5kdGDKdAiqb4SKUOFRnKpS6ADEOakLe6lwWYpH9rAm+lFSsG2er+aaJiYA6ap63F julg2AIi9ibb6/4YGM7f/o/3Mkc4O38pxpWydgMm7QWyOGqeD9VP9ZxllNthIkZXYKupdE bEbNJWmC77m6L6Qx8Lv/7N/LpbZGSC8EugwVkik7LXq7Uie3MdNihzawSTQlUw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4gn4tr01yZzrFC for ; Fri, 26 Jun 2026 19:07:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 42809 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 26 Jun 2026 19:07:48 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Benedict Reuschling Subject: git: c117bc4a90 - 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: c117bc4a9077cec38ccd1fd86a38ad4e942c1b21 Auto-Submitted: auto-generated Date: Fri, 26 Jun 2026 19:07:48 +0000 Message-Id: <6a3ece04.42809.29ebcf8c@gitrepo.freebsd.org> The branch main has been updated by bcr: URL: https://cgit.FreeBSD.org/doc/commit/?id=c117bc4a9077cec38ccd1fd86a38ad4e942c1b21 commit c117bc4a9077cec38ccd1fd86a38ad4e942c1b21 Author: Benedict Reuschling AuthorDate: 2026-06-26 18:11:05 +0000 Commit: Benedict Reuschling CommitDate: 2026-06-26 19:07:21 +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 4abdb3f084..7f3cca1aa9 100644 --- a/documentation/content/en/books/fdp-primer/overview/_index.adoc +++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc @@ -309,10 +309,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]