Skip to contentSkip to conversation

doc/git-branch: fix --force description typo

PATCH In review Kyle Meyer 2 participants 2 messages Dec 26, 2022 – Dec 27, 2022 Documentation

lore
Share & tools
lore

Kyle Meyer

author
#0 lore raw

PATCH 1/1 doc/git-branch: fix --force description typo

Update the description of --force to use '<start-point>' rather than '<startpoint>' to match the spelling used everywhere else in the git-branch documentation.

---
 Documentation/git-branch.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-branch.txt +1 -1
index 12c5f84e3b..aa2f78c4c2 100644
@@ -116,7 +116,7 @@ OPTIONS
 
 -f::
 --force::
-	Reset <branchname> to <startpoint>, even if <branchname> exists
+	Reset <branchname> to <start-point>, even if <branchname> exists
 	already. Without `-f`, 'git branch' refuses to change an existing branch.
 	In combination with `-d` (or `--delete`), allow deleting the
 	branch irrespective of its merged status, or whether it even
Signature · 1 line
2.38.1
#1 lore raw
Quoted 5 lines · Kyle Meyer

Subject: Re: [PATCH] doc/git-branch: fix --force description typo

Update the description of --force to use '<start-point>' rather than '<startpoint>' to match the spelling used everywhere else in the git-branch documentation.

Thanks. This <startpoint> was written in 2017, and all other lines that say "start-point", except for one, blame on commits made in 2019-2022, but they have been inherited from older versions.

Apparently we missed to convert this single one for consistency.

Good find. Will queue. Thanks.

Quoted 18 lines
---
 Documentation/git-branch.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/git-branch.txt +1 -1
index 12c5f84e3b..aa2f78c4c2 100644
@@ -116,7 +116,7 @@ OPTIONS
 
 -f::
 --force::
-	Reset <branchname> to <startpoint>, even if <branchname> exists
+	Reset <branchname> to <start-point>, even if <branchname> exists
 	already. Without `-f`, 'git branch' refuses to change an existing branch.
 	In combination with `-d` (or `--delete`), allow deleting the
 	branch irrespective of its merged status, or whether it even