Skip to content

Commit 3a33fe5

Browse files
Kaartic Sivaraamgitster
authored andcommitted
doc: reformat the paragraph containing the 'cut-line'
The paragraph that describes the 'scissors' cleanup mode of 'commit' had the 'cut-line' in the middle of a sentence. This made it possible for the line to get wrapped on smaler windows. This shouldn't be the case as it makes it hard for the user to understand the structure of the cut-line. Reformat the pragraph to make the 'cut-line' stand on a line of it's own thus distinguishing it from the rest of the paragraph. This further prevents it from getting wrapped to some extent. Signed-off-by: Kaartic Sivaraam <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 95791be commit 3a33fe5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Documentation/git-commit.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,11 +196,12 @@ whitespace::
196196
verbatim::
197197
Do not change the message at all.
198198
scissors::
199-
Same as `whitespace`, except that everything from (and
200-
including) the line
201-
"`# ------------------------ >8 ------------------------`"
202-
is truncated if the message is to be edited. "`#`" can be
203-
customized with core.commentChar.
199+
Same as `whitespace` except that everything from (and including)
200+
the line found below is truncated, if the message is to be edited.
201+
"`#`" can be customized with core.commentChar.
202+
203+
# ------------------------ >8 ------------------------
204+
204205
default::
205206
Same as `strip` if the message is to be edited.
206207
Otherwise `whitespace`.

0 commit comments

Comments
 (0)