This website requires JavaScript.
Explore
Help
Sign In
development
/
github-desktop
Watch
1
Star
0
Fork
You've already forked github-desktop
0
mirror of
https://github.com/desktop/desktop
synced
2024-08-24 18:57:33 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
2c06d6db2c
github-desktop
/
.gitattributes
3 lines
63 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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 https://github.com/desktop/desktop/blob/a05ebffab716a2295ca54b74d9ab222249772b42/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
2018-01-28 07:06:52 +00:00
/app/test/fixtures/** -text
Force unix line endings in WSL github helper
2020-09-02 16:12:47 +00:00
/app/static/win32/github.sh eol=lf
Reference in a new issue
Copy permalink