-
Notifications
You must be signed in to change notification settings - Fork 369
Whitespace check-in #720
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
Whitespace check-in #720
Conversation
@noloader - It's pretty much only the release notes and I think the CONTRIBUTING-TO-ESAPI.txt files that we leave in DOS format, because of all the Windows uses who still use 'notepad' (and not even 'notepad++') to read them. Sigh. But most of the other text files that I create are UNIX format. Also, we don't have any files with whitespace in the name, so there's no need for the IFS= trick in the loops. What do you think we are? A bunch of cavemen? I'd personally reject any PR that had a file name with whitespace in the name. |
Also, trailing whitespace doesn't bother me that much. There are 'diff' options to ignore that. :) |
Thanks @kwwall, The problem I am running into is, files I touch have them. So when I clean up the files I touch it includes a bunch of changes not relevant to my work. My hope is to clear all the extraneous whitespace as a base line. Then, when I cleanup the files I touch there are no extra changes.
Yeah, the code I used was copy/paste from my Build Scripts. It handles whitespace in filenames properly, so it should never do any harm. |
I thought that @xeno6696 had addressed a bunch of the same files in PR
#685, but apparently he only addressed tabs->spaces issue and not trailing
white space.
Also, I probably will accept your PR after the 2.5.0.0 release.
…On Sat, Jul 16, 2022 at 6:59 PM Jeffrey Walton ***@***.***> wrote:
Thanks @kwwall <https://github.com/kwwall>,
The problem I am running into is, files I touch have them. So when I clean
up the files I touch it includes a bunch of changes not relevant to my
work. My hope is to clear all the extraneous whitespace as a base line.
Then, when I cleanup the files I touch there are no extra changes.
—
Reply to this email directly, view it on GitHub
<#720 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAO6PG4DY2BYLOFCRRK6RPDVUM5E7ANCNFSM53YWM6TA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Blog: https://off-the-wall-security.blogspot.com/ | Twitter: @KevinWWall
| OWASP ESAPI Project co-lead
NSA: All your crypto bit are belong to us.
|
This commit removes extraneous trailing whitespace from text-based files.
The script used to clean the files is shown below. It is also available as a ZIP in case you want to add it to the distribution files: whitespace.sh.zip.