git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] doc/git-branch: fix --force description typo
@ 2022-12-26 16:54 Kyle Meyer
  2022-12-27  4:46 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Kyle Meyer @ 2022-12-26 16:54 UTC (permalink / raw)
  To: git

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

Signed-off-by: Kyle Meyer <kyle@kyleam.com>
---
 Documentation/git-branch.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index 12c5f84e3b..aa2f78c4c2 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -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
-- 
2.38.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] doc/git-branch: fix --force description typo
  2022-12-26 16:54 [PATCH] doc/git-branch: fix --force description typo Kyle Meyer
@ 2022-12-27  4:46 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2022-12-27  4:46 UTC (permalink / raw)
  To: Kyle Meyer; +Cc: git

Kyle Meyer <kyle@kyleam.com> writes:

> 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.

> Signed-off-by: Kyle Meyer <kyle@kyleam.com>
> ---
>  Documentation/git-branch.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
> index 12c5f84e3b..aa2f78c4c2 100644
> --- a/Documentation/git-branch.txt
> +++ b/Documentation/git-branch.txt
> @@ -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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-27  4:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-26 16:54 [PATCH] doc/git-branch: fix --force description typo Kyle Meyer
2022-12-27  4:46 ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).