Commit graph

5 commits

Author SHA1 Message Date
xavi92
014f82c37c Fix trailing whitespaces and ending newlines
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9552 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: f126eada2ef5b97c10fbb59d74901bcc03303a19
Former-commit-id: df90a174acb9bc1810f0f24cfc186ff2bc36d420
2024-09-30 05:23:49 +00:00
xavi92
0e7a45d2be Remove $Id$
This SVN-specific keyword [1] did not expand as expected on Git
repositories migrated from SVN via git-svn(1) [2]. Because of this,
applying patches with modifications would sometimes fail because, even
if these lines were not modified, they could be part of the context
lines, thus heavily confusing Git.

Since it is already expected to migrate from SVN to Git sometime soon,
this would also make $Id$ redundant.

[1]: https://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.keywords.html
[2]: https://git-scm.com/docs/git-svn


git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9550 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 7acf9a9675a0496a85ecd61210b8c29c89f9517a
Former-commit-id: 1878bb38889e4dddc83ef762b6b384f0f0a4ecc5
2024-09-30 05:17:15 +00:00
xavi92
6d7ca06e02 String trailing whitespaces
The following shell script was used:

while read f
do
        sed -Ei 's/[[:space:]]+$//g' "$f"
done <<EOF
$(svn ls -R | grep \
        -e '.\cpp$' \
        -e '\.cmake$' \
        -e '\.txt$' \
        -e '\.cppcheck$' \
        -e '\.frag$' \
        -e '\.h$' \
        -e '\.hpp$' \
        -e '\.vert$' \
        -e '\.xml$' \
        -e '\.java$' \
        -e '\.c$')
EOF

As a side effect, this has also converted some files from CRLF line
endings to LF.

File extensions such as .ac or .osg were intentionally left out because
those usually are very large files generated by tools.



git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@9507 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 6c1e5ab34415982ec77fc92a77e1b1c149518eca
Former-commit-id: c6cf9480ae7c1d2f9a999eb6c6b976eef8bae3ba
2024-07-30 21:45:07 +00:00
beaglejoe
a4fc24d18b Set eol to native
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@8349 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: e49492dd70c0522557550114c99ae13c9072ae8c
Former-commit-id: c0277f48b0633bd173310e94a32eff80b67897f5
2022-07-31 23:33:33 +00:00
beaglejoe
e459b96cc0 WIP for Build automation Ticket #1069
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@7574 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 334b33415226ffeee7549f6205cf0bcf1bbc52b5
Former-commit-id: 5e5a5669e39daace115af8558b9e5abc8ee39e91
2021-06-16 16:18:54 +00:00