[Dnsmasq-discuss] dnsmasq coding style, trailing white space
stappers at stappers.nl
Fri Sep 27 22:27:40 BST 2019
On Fri, Sep 27, 2019 at 07:23:53AM +0200, john doe wrote:
> On 9/26/2019 7:47 PM, Maarten de Vries wrote:
> > On 26-09-2019 18:03, Kurt H Maier wrote:
> >> On Thu, Sep 26, 2019 at 03:10:00PM +0300, Ariel Miculas wrote:
> >>> What about the issue regarding trailing whitespaces? There are empty
> >>> lines
> >>> which have random tabs/spaces, also there are spaces before newline
> >>> characters.
> >>> What is the rationale against removing trailing whitespaces?
> >> This stuff only matters if your tooling is broken.
> > Which is my it matters for open source projects. There will be people
> > with broken tooling that commit trailing whitespace.
> That is the issue,
> simply use a hook to avoied that 'pre-commit' in this case.
Please elaborate that.
So that further adding of trailing white spaces can be avoided.
git log -p 90d7c6b97dbae2c913e...90d7c6b97dbae2c913e~1
shows at my screen many green lines for added lines
plus a red block indicating "WARNING, here is trailing white space"
Commit 90d7c6b97dbae2c913 is currently the most recent commit.
In others words: It make sense to tell right now how to
avoid trailing white space. It is not an old mistake.
Leven en laten leven
More information about the Dnsmasq-discuss