check-code: fix check for trailing whitespace on sh command lines
The $ has been without necessary escaping since introduced in
c7d23b4ca4ba.
clone: don't fail with --update for non-local clones (
issue3578)
This was broken by
5884812686f7 due to lack of test coverage. This
adds a test and fixes the defect.
i18n-ru: synchronized with
474ae9720aa5
i18n-pt_BR: synchronized with
e4db509c08ec