mirror of
https://github.com/desktop/desktop
synced 2024-10-02 14:23:59 +00:00
Don't normalize line endings in fixture repositories on Windows
I encountered this today when the listSubmodules tests failed on my Windows machine. Debugging into it I found that the for-each-ref command was printing warnings in the `submodule-basic-setup` repository.
```warning: ignoring ref with broken name refs/remotes/origin/feature-branch?```
Further debugging lead me to a05ebffab7/app/test/fixtures/submodule-basic-setup/_git/modules/foo/submodule/packed-refs
and the realization that the packed-refs file had been checked out with CRLF line endings on my Windows machine.
This should ensure that we don't ever normalize line endings in the fixture directory
This commit is contained in:
parent
a05ebffab7
commit
0e58e12717
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
/app/test/fixtures/** -text
|
Loading…
Reference in a new issue