Open Helveg opened 5 months ago
An alternative would be to have git enforce a LF-only ending on scripts such as git-source-id
— would this avoid the issue?
Using GitHub's line ending config docs as a guide, we should be able to add lines to .gitattributes
such as:
arbor/include/git-source-id text eol=lf
That seems to work too!
Lint takes issue with the stub files ... @Helveg could you fix and we'll merge?
What needs to happen here? I didn't change those files.
Building arbor on WSL from a clone checked out with Windows line endings causes the following error:
The shebang line in
arbor/include/git-source-id
of the following custom command is misinterpreted:Prepending
bash
directly to the custom command seems to fix the problem. I don't know how to confirm whether theversion.hpp-test
mechanism still works as intended, so someone should probably review that.