Ralph Castain
fb644abd1e
Add a couple of helper tools to prepare git commits by removing all trailing blank lines, and replacing tabs with indents. These tools default to looking only at modified files, but can also be used to scan the entire directory tree via the --all option.
...
Signed-off-by: Ralph Castain <rhc@open-mpi.org>
2016-11-19 11:44:19 -08:00
Jeff Squyres
12367d8444
whitespace-purge: switch from sed to perl
...
The perl form is more portable.
2015-09-08 09:36:36 -07:00
Nathan Hjelm
b4fcd3897e
Simplify whitespace purge script a little.
...
Do not need to test with -f. If directories ever show up in git
ls-files (unlikely) their mime type is application/x-directory which
will fail the test ${file::4} == text check.
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-08-24 09:30:46 -06:00
Nathan Hjelm
92ec9ca2bb
update whitespace purge script to skip all non-text files
...
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-08-24 09:24:37 -06:00
Ralph Castain
d1ac247e0d
Update whitespace-purge script
2015-08-19 12:09:42 -07:00
Ralph Castain
265cd14f60
Purge whitespace
2015-06-25 13:27:56 -07:00
Ralph Castain
24cc9358a6
Set the whitespace-purge.sh script to be executable
2015-06-24 08:29:26 -07:00
Ralph Castain
869041f770
Purge whitespace from the repo
2015-06-23 20:59:57 -07:00