git: 108c7b0b96 - main - fdp-primer: Add context instructions to two other locations and fix formatting
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Jun 2026 21:32:09 UTC
The branch main has been updated by bcr:
URL: https://cgit.FreeBSD.org/doc/commit/?id=108c7b0b9672e91585430ac8c12cfa6ab5d443a3
commit 108c7b0b9672e91585430ac8c12cfa6ab5d443a3
Author: Benedict Reuschling <bcr@FreeBSD.org>
AuthorDate: 2026-06-26 21:24:47 +0000
Commit: Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2026-06-26 21:24:47 +0000
fdp-primer: Add context instructions to two other locations and fix formatting
7dcf0bd6337554f7a57ca1fe4d1ef79a269a0a23 only changed the instructions on
how to add context to 'git format-patch' for Linux, leaving out the FreeBSD
and macOS sections. Add the same instructions there, too.
Additionally, I fixed the formatting of the enumerations I broke in the
commit mentioned above.
Event: Halifax Hackathon 202606
Location: Lying on the couch
---
.../content/en/books/fdp-primer/overview/_index.adoc | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/documentation/content/en/books/fdp-primer/overview/_index.adoc b/documentation/content/en/books/fdp-primer/overview/_index.adoc
index e14f2c8476..5ea84496dc 100644
--- a/documentation/content/en/books/fdp-primer/overview/_index.adoc
+++ b/documentation/content/en/books/fdp-primer/overview/_index.adoc
@@ -160,9 +160,14 @@ 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
....
+
+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.
++
Patch generated with `git format-patch` will include author identity and email addresses,
making it easier for developers to apply (with `git am`) and give proper credit.
+
@@ -232,7 +237,7 @@ Make sure that all required files are included, then commit the change to your l
....
+
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.
+
@@ -315,7 +320,7 @@ Make sure that all required files are included, then commit the change to your l
....
+
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.
+