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

[PATCH 4/4] doc: add docs for newlineafter flag

From
John Cai via GitGitGadget <gitgitgadget@gmail.com>
Date
Oct 29, 2021, 21:15 UTC
Message-ID
<57b2079f30a3b8cbaf83c93510abd5b1ad7fff61.1635542128.git.gitgitgadget@gmail.com>
In-Reply-To
<pull.1065.git.1635542128.gitgitgadget@gmail.com>
From: John Cai <johncai86@gmail.com>
Provide documentation for --newlineafter flag
Signed-off-by: John Cai <johncai86@gmail.com>
---
 Documentation/pretty-options.txt | 4 ++++
 1 file changed, 4 insertions(+)
diff --git a/Documentation/pretty-options.txt b/Documentation/pretty-options.txt
index b3af8506086..7de51c660fe 100644
--- a/Documentation/pretty-options.txt
+++ b/Documentation/pretty-options.txt
@@ -32,6 +32,10 @@ people using 80-column terminals.
 	This is a shorthand for "--pretty=oneline --abbrev-commit"
 	used together.
 
+--newlineafter[=(decorations)]
+	Used in conjunction with --pretty=oneline to add a line break after
+	decorations
+
 --encoding=<encoding>::
 	Commit objects record the character encoding used for the log message
 	in their encoding header; this option can be used to tell the
-- 
gitgitgadget
Previous: John Cai via GitGitGadgetNext: Christian Couder
Message 5 of 7 in “Flag to add a newline after decorations for --oneline log output”
  1. 0/4 Flag to add a newline after decorations for --oneline log outputJohn Cai via GitGitGadget, Oct 29, 2021
  2. 1/4 oneline: parse --newlineafter flagJohn Cai via GitGitGadget, Oct 29, 2021
  3. 2/4 oneline: print newline after decorations if flag providedJohn Cai via GitGitGadget, Oct 29, 2021
  4. 3/4 oneline: test for --newlineafter featureJohn Cai via GitGitGadget, Oct 29, 2021
  5. 4/4 doc: add docs for newlineafter flagJohn Cai via GitGitGadget, Oct 29, 2021
  6. Christian CouderNov 12, 2021
  7. John CaiNov 21, 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.