Bug 255603

Summary: [PATCH] Handbook Chapter 24.5.3: change change wrong branch name main/->main
Product: Documentation Reporter: Minsoo Choo <minsoochoo0122>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Many People CC: lwhsu
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git diff file none

Description Minsoo Choo 2021-05-05 01:53:49 UTC
Created attachment 224673 [details]
git diff file

git clone --branch main https://git.FreeBSD.org/src.git is correct
However, when a person who does not know git well can type git clone --branch main/ https://git.FreeBSD.org/src.git when they read the handbook.

I got this report from freebsd-questions mailing list, and I attach a git diff file.

I don't have a permission to commit, so how can I get access to doc.git?
Comment 1 commit-hook freebsd_committer freebsd_triage 2021-05-05 07:19:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=23b3362cfb3ce5c5cbf6fae8c41db9bc983940d4

commit 23b3362cfb3ce5c5cbf6fae8c41db9bc983940d4
Author:     Minsoo Choo <fel1x.mintchoco.development@gmail.com>
AuthorDate: 2021-05-05 07:16:41 +0000
Commit:     Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2021-05-05 07:18:03 +0000

    Correct the branch name from 'main/' to 'main'

    PR:             255603
    Approved by:    carlavilla (implicitly)

 documentation/content/en/books/handbook/cutting-edge/_index.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Li-Wen Hsu freebsd_committer freebsd_triage 2021-05-05 07:21:30 UTC
Fixed, thanks for the patch!

The best way to access the repository without permission is submitting the patch using `git format-patch`, to keep the original author information.