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

[PATCH] Documentation/log: fix description of format.pretty

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Nov 11, 2012, 11:27 UTC
Message-ID
<CALkWK0=hdmYF2VoOZY4F7+yPD8D0rBnPY-tvp5pryRWp-0WBeg@mail.gmail.com>

59893a88 (Documentation/log: add a CONFIGURATION section, 2010-05-08) mentioned that `format.pretty` is the default for the `--format` option. Such an option never existed, and the author meant `--pretty`. Make this correction.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
---
 Documentation/git-log.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 585dac4..4b07ad4 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -148,7 +148,7 @@ See linkgit:git-config[1] for core variables and
linkgit:git-
 for settings related to diff generation.

 format.pretty::
-       Default for the `--format` option.  (See "PRETTY FORMATS" above.)
+       Default for the `--pretty` option.  (See "PRETTY FORMATS" above.)
        Defaults to "medium".

 i18n.logOutputEncoding::
-- 
1.7.12.1.428.g652398a.dirty
Next: Jonathan Nieder
Message 1 of 5 in “Documentation/log: fix description of format.pretty”
  1. Documentation/log: fix description of format.prettyRamkumar Ramachandra, Nov 11, 2012
  2. Jonathan NiederNov 12, 2012
  3. Ramkumar RamachandraNov 12, 2012
  4. Jonathan NiederNov 12, 2012
  5. Junio C HamanoNov 12, 2012

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.