Docs: explain new delete signs

This commit is contained in:
Marco Hinz 2013-06-07 11:37:21 +02:00
parent 476f22ac48
commit 413dd15e4b
2 changed files with 13 additions and 10 deletions

View File

@ -68,23 +68,26 @@ Sign explanation
A new line was added. The sign is shown on the same line as the new line. A new line was added. The sign is shown on the same line as the new line.
`_` `_1`
A line was deleted. The sign is shown on the line above the deleted line. Special case: The first line was deleted. In this case the sign is shown on the same line. A line was deleted. The sign is shown on the line above the deleted line. The
second character indicates the number of deleted lines: 1-9, and # for
everything above.
`!` `!`
A line was changed. Something was changed, but the amount of lines stayed the same. The sign is shown on the same line. A line was changed. Something was changed, but the amount of lines stayed the
same. The sign is shown on the same line.
`!_` `!_`
A line was changed and one or more of the lines below were deleted. A combination of **!** and **_**. The sign is shown on the same line. A line was changed and one or more of the lines below were deleted. A
combination of **!** and **_**. The sign is shown on the same line.
`‾` `‾`
The first line was deleted. This special case is indicated by **‾** rather than This is used instead of _ in the special case of the first line being removed.
**_**.
Longer introduction Longer introduction
------------------- -------------------

View File

@ -66,11 +66,11 @@ Sign explanation:
A new line was added. The sign is shown on the same line as the new line. A new line was added. The sign is shown on the same line as the new line.
_ _1
A line was deleted. The sign is shown on the line above the deleted line. A line was deleted. The sign is shown on the line above the deleted line. The
Special case: The first line was deleted. In this case the sign is shown on second character indicates the number of deleted lines: 1-9, and # for
the same line. everything above.
! !