Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files appear modified when freshly cloned #34

Open
olivia-gillham-volpe opened this issue Nov 23, 2021 · 0 comments
Open

Files appear modified when freshly cloned #34

olivia-gillham-volpe opened this issue Nov 23, 2021 · 0 comments

Comments

@olivia-gillham-volpe
Copy link
Collaborator

I've had a persistent issue when setting up new clones of FTOT where many or all files appear modified even though they are newly downloaded. As best I can tell, it's related to line endings. I know we have .gitattributes setting eol=crlf for the repository, which should cover this, but does not seem to be adequate.

When I modify the line in .gitattributes to "* text=auto eol=crlf", then files properly register as unchanged. I'll submit a pull request with this change - I think it will have no impact, if you were not already having this problem. I am not changing the crlf setting, only which files it's applied to.

If your global autocrlf setting is set to false, you probably never run into this anyway.

But anyone available, please test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant