git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] doc/git-branch: fix awkward wording for "-c"
@ 2021-02-03 21:07 Jeff King
  2021-02-03 21:13 ` Taylor Blau
  0 siblings, 1 reply; 3+ messages in thread
From: Jeff King @ 2021-02-03 21:07 UTC (permalink / raw)
  To: git

The description for "-c" is hard to parse. I think the big issue is lack
of commas, but I've also reordered the words to keep the main focus
point of "instead of renaming, copy" together.

Signed-off-by: Jeff King <peff@peff.net>
---
Just happened to be reading this when writing the nearby completion
patch.

 Documentation/git-branch.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt
index adaa1782a8..eb815c2248 100644
--- a/Documentation/git-branch.txt
+++ b/Documentation/git-branch.txt
@@ -78,8 +78,8 @@ renaming. If <newbranch> exists, -M must be used to force the rename
 to happen.
 
 The `-c` and `-C` options have the exact same semantics as `-m` and
-`-M`, except instead of the branch being renamed it along with its
-config and reflog will be copied to a new name.
+`-M`, except instead of the branch being renamed, it will be copied to a
+new name, along with its config and reflog.
 
 With a `-d` or `-D` option, `<branchname>` will be deleted.  You may
 specify more than one branch for deletion.  If the branch currently
-- 
2.30.0.882.gf229bd7cc9

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

end of thread, other threads:[~2021-02-04  1:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-03 21:07 [PATCH] doc/git-branch: fix awkward wording for "-c" Jeff King
2021-02-03 21:13 ` Taylor Blau
2021-02-04  1:21   ` Robert Karszniewicz

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 NNTP newsgroup(s).