aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-name-rev.txt
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-04-30 17:35:33 +0200
committerJunio C Hamano <gitster@pobox.com>2018-05-02 17:03:33 +0900
commit76a8788c141e9d4e2713acaa7886475fb6b27ca5 (patch)
tree39737a2b50579f34e6cbf2b58d905206928bdcf8 /Documentation/git-name-rev.txt
parent1f1cddd558b54bb0ce19c8ace353fd07b758510d (diff)
downloadgit-76a8788c141e9d4e2713acaa7886475fb6b27ca5.tar.gz
doc: keep first level section header in upper case
When formatted as a man page, 1st section header is always in upper case even if we write it otherwise. Make all 1st section headers uppercase to keep it close to the final output. This does affect html since case is kept there, but I still think it's a good idea to maintain a consistent style for 1st section headers. Some sections perhaps should become second sections instead, where case is kept, and for better organization. I will update if anyone has suggestions about this. While at there I also make some header more consistent (e.g. examples vs example) and fix a couple minor things here and there. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-name-rev.txt')
-rw-r--r--Documentation/git-name-rev.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/git-name-rev.txt b/Documentation/git-name-rev.txt
index e8e68f528c..5cb0eb0855 100644
--- a/Documentation/git-name-rev.txt
+++ b/Documentation/git-name-rev.txt
@@ -61,8 +61,8 @@ OPTIONS
--always::
Show uniquely abbreviated commit object as fallback.
-EXAMPLE
--------
+EXAMPLES
+--------
Given a commit, find out where it is relative to the local refs. Say somebody
wrote you about that fantastic commit 33db5f4d9027a10e477ccf054b2c1ab94f74c85a.