git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] doc/git-branch: fix awkward wording for "-c"

From
Jeff King <peff@peff.net>
Date
Feb 3, 2021, 21:07 UTC
Message-ID
<YBsQlC03pJgYUHde@coredump.intra.peff.net>

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
Next: Taylor Blau
Message 1 of 3 in “doc/git-branch: fix awkward wording for "-c"”
  1. doc/git-branch: fix awkward wording for "-c"Jeff King, Feb 3, 2021
  2. Taylor BlauFeb 3, 2021
  3. Robert KarszniewiczFeb 4, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.