Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes trailing whitespace #20

Merged
merged 1 commit into from
Jun 27, 2014
Merged

Removes trailing whitespace #20

merged 1 commit into from
Jun 27, 2014

Conversation

g0xA52A2A
Copy link

A number of files contained trailing whitespace, this has been removed
with the following perl one-liner.

perl -pi -e 's/ +$//' *

Not having whitespace prevents confusing diff outputs such as the
following.

#3 (diff)

The diff changes on the PR may seem a bit crazy with blocks seemingly removed and re-added but if you view with the following URL or do git diff --ignore-space-at-eol you'll see it's just space removal.

https://github.com/jhoblitt/puppet-ganglia/pull/20/files?w=1

A number of files contained trailing whitespace, this has been removed
with the following perl one-liner.

perl -pi -e 's/ +$//' *

Not having whitespace prevents confusing diff outputs such as the
following.

#3 (diff)
@jhoblitt
Copy link
Owner

I suspect the trailing w/s was largely from the original conf files but I'll go ahead and merge the entire PR. This module really needs some TLC.

jhoblitt pushed a commit that referenced this pull request Jun 27, 2014
@jhoblitt jhoblitt merged commit e56d0e2 into jhoblitt:master Jun 27, 2014
@jhoblitt
Copy link
Owner

BTW - the email address used for the git commits doesn't seem to match your github account.

@g0xA52A2A
Copy link
Author

Hey thanks for pointing that out I did this from my work where we mainly use an internal git server. Is this an issue?
I'll try and keep future commits consistent with my github details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants