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

[PATCH v2] show-branch: line-wrap for show-branch usage

From
Alexander Kuleshov <kuleshovmail@gmail.com>
Date
Jan 8, 2015, 20:30 UTC
Message-ID
<1420749027-25951-1-git-send-email-kuleshovmail@gmail.com>
Signed-off-by: 0xAX <kuleshovmail@gmail.com>
---
 builtin/show-branch.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/builtin/show-branch.c b/builtin/show-branch.c
index 270e39c..18245ad 100644
--- a/builtin/show-branch.c
+++ b/builtin/show-branch.c
@@ -6,9 +6,11 @@
 #include "parse-options.h"
 
 static const char* show_branch_usage[] = {
-    N_("git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order] [--current] [--color[=<when>] | --no-color] [--sparse] [--more=<n> | --list | --independent | --merge-base] [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]"),
-    N_("git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"),
-    NULL
+	N_("git show-branch [-a|--all] [-r|--remotes] [--topo-order | --date-order]\n"
+"                       [--current] [--color[=<when>] | --no-color] [--sparse] [--more=<n> | --list | --independent | --merge-base]\n"
+"                       [--no-name | --sha1-name] [--topics] [(<rev> | <glob>)...]"),
+	N_("git show-branch (-g|--reflog)[=<n>[,<base>]] [--list] [<ref>]"),
+	NULL
 };
 
 static int showbranch_use_color = -1;
-- 
2.2.1.269.gb441311.dirty
Message 1 of 1 in “show-branch: line-wrap for show-branch usage”
  1. show-branch: line-wrap for show-branch usageAlexander Kuleshov, Jan 8, 2015

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.