git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Contradicting man page for git branch copy
@ 2021-10-23 15:25 Martin
  2021-10-23 23:57 ` Re* " Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Martin @ 2021-10-23 15:25 UTC (permalink / raw)
  To: Git List

The man page says

1) Under "Description"
https://git-scm.com/docs/git-branch#_description
> The |-c| and |-C| options have the exact same semantics as |-m| and 
> |-M|, except instead of the branch being renamed, it will be copied to 
> a new name, along with its config and reflog.

But on the option itself
https://git-scm.com/docs/git-branch#Documentation/git-branch.txt--c
>
> -c
> --copy
>
>     Copy a branch and the corresponding reflog.
>

The latter does not mention the config.

So does it copy the config or not ?




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

end of thread, other threads:[~2021-10-23 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-23 15:25 Contradicting man page for git branch copy Martin
2021-10-23 23:57 ` Re* " 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).