diff options
author | Denton Liu <liu.denton@gmail.com> | 2020-06-26 01:29:40 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-06-26 08:00:26 +0200 |
commit | 6b9c1b4d54225b4c2808b5fadc2b6e779ae1916a (patch) | |
tree | 128ae819f77ffac93020b7ca2ecdd0d4de0e5eb8 /lib/libalpm/conflict.c | |
parent | 84723cab5dfc9b7f4594135295974f771ceb6e5e (diff) | |
download | pacman-6b9c1b4d54225b4c2808b5fadc2b6e779ae1916a.tar.gz pacman-6b9c1b4d54225b4c2808b5fadc2b6e779ae1916a.tar.xz |
srcinfo.sh: remove trailing newline
When a .SRCINFO file is generated via `makepkg --printsrcinfo`, each
section is concluded with an empty line. This means that at the end of
the file, an empty line remains. This is considered a trailing
whitespace error. In fact, `git diff --check` will warn about this,
saying "new blank line at EOF."
Instead of closing each section off with an empty line, use the empty
line to separate sections, omitting the empty line at the end of the
file.
Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/conflict.c')
0 files changed, 0 insertions, 0 deletions