Skip to content

Commit 081d916

Browse files
asheidukgitster
authored andcommitted
doc: fix formatting in git-update-ref
Remove the parapgraph numbers from lines explaining the reflog format and typeset these lines in monospace. Signed-off-by: Andreas Heiduk <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 9aab3fc commit 081d916

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Documentation/git-update-ref.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,17 +129,17 @@ a line to the log file "$GIT_DIR/logs/<ref>" (dereferencing all
129129
symbolic refs before creating the log name) describing the change
130130
in ref value. Log lines are formatted as:
131131

132-
. oldsha1 SP newsha1 SP committer LF
133-
+
132+
oldsha1 SP newsha1 SP committer LF
133+
134134
Where "oldsha1" is the 40 character hexadecimal value previously
135135
stored in <ref>, "newsha1" is the 40 character hexadecimal value of
136136
<newvalue> and "committer" is the committer's name, email address
137137
and date in the standard Git committer ident format.
138138

139139
Optionally with -m:
140140

141-
. oldsha1 SP newsha1 SP committer TAB message LF
142-
+
141+
oldsha1 SP newsha1 SP committer TAB message LF
142+
143143
Where all fields are as described above and "message" is the
144144
value supplied to the -m option.
145145

0 commit comments

Comments
 (0)