Skip to content
/ git Public
forked from git/git

Commit

Permalink
doc: reformat the paragraph containing the 'cut-line'
Browse files Browse the repository at this point in the history
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 <kaarticsivaraam91196@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Kaartic Sivaraam authored and gitster committed Jul 18, 2017
1 parent 95791be commit 3a33fe5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Documentation/git-commit.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,12 @@ whitespace::
verbatim::
Do not change the message at all.
scissors::
Same as `whitespace`, except that everything from (and
including) the line
"`# ------------------------ >8 ------------------------`"
is truncated if the message is to be edited. "`#`" can be
customized with core.commentChar.
Same as `whitespace` except that everything from (and including)
the line found below is truncated, if the message is to be edited.
"`#`" can be customized with core.commentChar.

# ------------------------ >8 ------------------------

default::
Same as `strip` if the message is to be edited.
Otherwise `whitespace`.
Expand Down

0 comments on commit 3a33fe5

Please sign in to comment.