threads / patch / 57790

patchDocumentation: git-log: Capitalize references to sections

Subject: [PATCH] Documentation: git-log: Capitalize references to sections

## tl;dr

2 messages between Apr 24, 2022 and Apr 24, 2022. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Thomas Bracht Laumann Jespersen· Apr 24, 2022, 11:28 UTC · lore

Minor inconsistency, in git-log(1) there's another reference to the PRETTY FORMATS section.

Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz>
---
 Documentation/git-log.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Show changes to Documentation/git-log.txt +2 −2
diff --git a/Documentation/git-log.txt b/Documentation/git-log.txt
index 20e87cecf4..49620710dc 100644
--- a/Documentation/git-log.txt
+++ b/Documentation/git-log.txt
@@ -191,11 +191,11 @@ See linkgit:git-config[1] for core variables and linkgit:git-diff[1]
 for settings related to diff generation.
 
 format.pretty::
-	Default for the `--format` option.  (See 'Pretty Formats' above.)
+	Default for the `--format` option.  (See 'PRETTY FORMATS' above.)
 	Defaults to `medium`.
 
 i18n.logOutputEncoding::
-	Encoding to use when displaying logs.  (See 'Discussion' above.)
+	Encoding to use when displaying logs.  (See 'DISCUSSION' above.)
 	Defaults to the value of `i18n.commitEncoding` if set, and UTF-8
 	otherwise.
 
-- 
2.35.1
Thomas Bracht Laumann Jespersen· Apr 24, 2022, 11:40 UTC · re: Thomas Bracht Laumann Jespersen · lore

Re: [PATCH] Documentation: git-log: Capitalize references to sections

> Minor inconsistency, in git-log(1) there's another reference to the
> PRETTY FORMATS section.

Ugh, just reread the commit message, I must've been distracted. What I was trying to say is that in the git-log(1) man page there's another reference to the PRETTY FORMATS section that is all-caps (like "PRETTY FORMATS") and I figured it made sense to align the capitalization.

-- Thomas

← back to recent threads