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

[PATCH] doc: fix missing "::" in config list

From
Jeff King <peff@peff.net>
Date
Oct 30, 2016, 18:46 UTC
Message-ID
<20161030184633.6lqdeefznpezhljd@sigill.intra.peff.net>
In-Reply-To
<CALhvvbYJ8G12Lbe2FgP8PWKZ-LABcw2M-M-zWPkT12UUqq1vaw@mail.gmail.com>
On Sun, Oct 30, 2016 at 07:21:41PM +0200, Alexei Lozovsky wrote:
Show 8 quoted lines
> > It would help especially when the commit message was written badly.
> >
> > Or it might be possible to customize just like "git log --format"?
> 
> It is possible to change the format globally via config option
> rebase.instructionFormat:
> 
>     $ git config rebase.instructionFormat "%an (%ad): %s"

I had totally forgotten we added this option. When I went to look at its documentation, I found the formatting a bit funny. This should fix it.

-- >8 --
Subject: [PATCH] doc: fix missing "::" in config list

The rebase.instructionFormat option is missing its "::" to tell AsciiDoc that it's a list entry. As a result, the option name gets lumped into the description in one big paragraph.

Signed-off-by: Jeff King <peff@peff.net>
---
 Documentation/config.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/config.txt b/Documentation/config.txt
index 27069ac03..a0ab66aae 100644
--- a/Documentation/config.txt
+++ b/Documentation/config.txt
@@ -2450,7 +2450,7 @@ rebase.missingCommitsCheck::
 	command in the todo-list.
 	Defaults to "ignore".
 
-rebase.instructionFormat
+rebase.instructionFormat::
 	A format string, as specified in linkgit:git-log[1], to be used for
 	the instruction list during an interactive rebase.  The format will automatically
 	have the long commit hash prepended to the format.
-- 
2.10.2.870.g7471999
Previous: Alexei LozovskyNext: ryenus
Message 3 of 5 in “[git rebase -i] show time and author besides commit hash and message?”
  1. ryenusOct 30, 2016
  2. Alexei LozovskyOct 30, 2016
  3. doc: fix missing "::" in config listJeff King, Oct 30, 2016
  4. ryenusOct 31, 2016
  5. Jeff KingOct 31, 2016

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.