mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 18:22:57 +02:00
Merge bitcoin/bitcoin#32477: lint: Check for missing trailing newline
fa9198af55lint: Check for missing trailing newline (MarcoFalke)fa2b2aa27clint: Add archived notes to default excludes (MarcoFalke) Pull request description: A missing trailing newline is harmless, but a bit problematic: * `git` shows a warning by default * After another line is appended, the diff will be verbose and `git blame` will be wrong for the "untouched" line. Fix the problems by just requiring what is already the default, see also663a9cabf8/.editorconfig (L9)and663a9cabf8/test/lint/test_runner/src/main.rs (L327)ACKs for top commit: l0rinc: utACKfa9198af55fanquake: ACKfa9198af55Tree-SHA512: d144eebdeee68fc3404aa4a66ecd5c130f907ed4b869bd300f6e9ed74d125561d1f4cdd6dd20d9e969471a7d007399f928f072d1c1f626275ca31f32bc23fdbc
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2019-2021 The Bitcoin Core developers
|
||||
// Copyright (c) 2019-present The Bitcoin Core developers
|
||||
// Distributed under the MIT software license, see the accompanying
|
||||
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
||||
|
||||
@@ -66,4 +66,4 @@ FUZZ_TARGET(bech32_roundtrip)
|
||||
assert(decoded.data == converted_input);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user