check-code: fix check for trailing whitespace on empty lines
It seems like the intention with c7d23b4ca4ba was to catch lines with only one whitespace too.
Showing
- contrib/check-code.py 1 addition, 1 deletioncontrib/check-code.py
- tests/test-basic.t 1 addition, 1 deletiontests/test-basic.t
- tests/test-bookmarks-pushpull.t 1 addition, 1 deletiontests/test-bookmarks-pushpull.t
- tests/test-diffstat.t 1 addition, 1 deletiontests/test-diffstat.t
- tests/test-encoding.t 1 addition, 1 deletiontests/test-encoding.t
- tests/test-largefiles.t 1 addition, 1 deletiontests/test-largefiles.t
- tests/test-rebase-bookmarks.t 2 additions, 2 deletionstests/test-rebase-bookmarks.t
- tests/test-subrepo-deep-nested-change.t 1 addition, 1 deletiontests/test-subrepo-deep-nested-change.t
Loading
Please register or sign in to comment