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

[PATCH 6/6] doc: fix formatting in git-update-ref

From
Andreas Heiduk <asheiduk@gmail.com>
Date
Oct 22, 2018, 20:45 UTC
Message-ID
<20181022204546.20354-7-asheiduk@gmail.com>
In-Reply-To
<20181022204546.20354-1-asheiduk@gmail.com>

Remove the parapgraph numbers from lines explaining the reflog format and typeset these lines in monospace.

Signed-off-by: Andreas Heiduk <asheiduk@gmail.com>
---
 Documentation/git-update-ref.txt | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentation/git-update-ref.txt b/Documentation/git-update-ref.txt
index fda8516677..9671423117 100644
--- a/Documentation/git-update-ref.txt
+++ b/Documentation/git-update-ref.txt
@@ -129,8 +129,8 @@ a line to the log file "$GIT_DIR/logs/<ref>" (dereferencing all
 symbolic refs before creating the log name) describing the change
 in ref value.  Log lines are formatted as:
 
-    . oldsha1 SP newsha1 SP committer LF
-+
+    oldsha1 SP newsha1 SP committer LF
+
 Where "oldsha1" is the 40 character hexadecimal value previously
 stored in <ref>, "newsha1" is the 40 character hexadecimal value of
 <newvalue> and "committer" is the committer's name, email address
@@ -138,8 +138,8 @@ and date in the standard Git committer ident format.
 
 Optionally with -m:
 
-    . oldsha1 SP newsha1 SP committer TAB message LF
-+
+    oldsha1 SP newsha1 SP committer TAB message LF
+
 Where all fields are as described above and "message" is the
 value supplied to the -m option.
 
-- 
2.19.1
Previous: Andreas HeidukNext: Andreas Heiduk
Message 7 of 8 in “various fixes for docs”
  1. 0/6 various fixes for docsAndreas Heiduk, Oct 22, 2018
  2. 1/6 doc: clarify boundaries of 'git worktree list --porcelain'Andreas Heiduk, Oct 22, 2018
  3. Eric SunshineOct 22, 2018
  4. 2/6 doc: fix ASCII art tab spacingAndreas Heiduk, Oct 22, 2018
  5. 3/6 doc: fix inappropriate monospace formattingAndreas Heiduk, Oct 22, 2018
  6. 5/6 doc: fix indentation of listing blocks in gitweb.conf.txtAndreas Heiduk, Oct 22, 2018
  7. 6/6 doc: fix formatting in git-update-refAndreas Heiduk, Oct 22, 2018
  8. 4/6 doc: fix descripion for 'git tag --format'Andreas Heiduk, Oct 22, 2018

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.