git: 08fc3edded - main - [phb]: Fix poudriere ports tree creation instructions

Fernando Apesteguía <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by fernape:

URL: https://cgit.FreeBSD.org/doc/commit/?id=08fc3edded97d9acb0eacbf633544b1ad0d0274b

commit 08fc3edded97d9acb0eacbf633544b1ad0d0274b
Author:     Fernando Apesteguía <[email protected]>
AuthorDate: 2021-04-12 13:14:38 +0000
Commit:     Fernando Apesteguía <[email protected]>
CommitDate: 2021-04-18 15:45:30 +0000

    [phb]: Fix poudriere ports tree creation instructions
    
    * If using CURRENT, we need to use Git
    * We need the -B flag because our "master" branch is called "main".
    
    Approved by: 0mp, gbe (mentors)
    Differential Revision: https://reviews.freebsd.org/D29724
---
 documentation/content/en/books/porters-handbook/testing/_index.adoc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/documentation/content/en/books/porters-handbook/testing/_index.adoc b/documentation/content/en/books/porters-handbook/testing/_index.adoc
index 129743efb2..a274553618 100644
--- a/documentation/content/en/books/porters-handbook/testing/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/testing/_index.adoc
@@ -289,7 +289,7 @@ For jails employing a `git+*` method, it is helpful to add `-J _NumberOfParallel
 [[testing-poudriere-ports-tree]]
 === Setting Up Ports Trees for Use with Poudriere
 
-There are multiple ways to use ports trees in Poudriere. The most straightforward way is to have Poudriere create a default ports tree for itself, using either man:portsnap[8] (if running FreeBSD {rel121-current} or {rel114-current}) or Subversion (if running FreeBSD-CURRENT):
+There are multiple ways to use ports trees in Poudriere. The most straightforward way is to have Poudriere create a default ports tree for itself, using either man:portsnap[8] (if running FreeBSD {rel121-current} or {rel114-current}) or Git (if running FreeBSD-CURRENT):
 
 [source,shell]
 ....
@@ -300,7 +300,7 @@ or
 
 [source,shell]
 ....
-# poudriere ports -c -m git+https
+# poudriere ports -c -m git+https -B main
 ....
 
 These commands create `tank/poudriere/ports/default`, mount it on [.filename]#/poudriere/ports/default#, and populate it using Git, man:portsnap[8], or Subversion. Afterward it is included in the list of known ports trees:
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.