mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-05-04 17:00:52 +02:00
lint: [doc] Clarify Windows line endings (CR LF) not to be used
This commit is contained in:
parent
842f7fdf78
commit
fa9be2f795
@ -137,9 +137,9 @@ fn lint_trailing_whitespace() -> LintResult {
|
|||||||
if trailing_space {
|
if trailing_space {
|
||||||
Err(r#"
|
Err(r#"
|
||||||
^^^
|
^^^
|
||||||
Trailing whitespace is problematic, because git may warn about it, or editors may remove it by
|
Trailing whitespace (including Windows line endings [CR LF]) is problematic, because git may warn
|
||||||
default, forcing developers in the future to either undo the changes manually or spend time on
|
about it, or editors may remove it by default, forcing developers in the future to either undo the
|
||||||
review.
|
changes manually or spend time on review.
|
||||||
|
|
||||||
Thus, it is best to remove the trailing space now.
|
Thus, it is best to remove the trailing space now.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user