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

Add .gitattributes #8874

Merged
merged 1 commit into from
Oct 26, 2020
Merged

Add .gitattributes #8874

merged 1 commit into from
Oct 26, 2020

Conversation

wborn
Copy link
Member

@wborn wborn commented Oct 26, 2020

Without this configuration there are issues with line endings on Windows.

See: #8712

Without this configuration there are issues with line endings on Windows.

See: openhab#8712

Signed-off-by: Wouter Born <github@maindrain.net>
@J-N-K J-N-K merged commit 0840523 into openhab:main Oct 26, 2020
@wborn wborn deleted the add-gitattributes branch October 26, 2020 20:23
nowaterman pushed a commit to nowaterman/openhab-addons that referenced this pull request Jan 19, 2021
Without this configuration there are issues with line endings on Windows.

See: openhab#8712
@Daniel-42
Copy link
Contributor

I think this way the 'auto' applies to exactly two files: .xml and .java

Shouldn't it be:

*.xml
*.java

I think (well... hope after spending 4 hours on it) this explains why my windows line endings kept winding up in the repo.

@fwolter
Copy link
Member

fwolter commented Apr 4, 2021

If I understand the specs correctly, the wildcard is missing. The pattern format is the same as for gitignore. Under "Examples" https://git-scm.com/docs/gitignore#_examples the description states:

The pattern hello.* matches any file or folder whose name begins with hello

boehan pushed a commit to boehan/openhab-addons that referenced this pull request Apr 12, 2021
Without this configuration there are issues with line endings on Windows.

See: openhab#8712

Signed-off-by: Wouter Born <github@maindrain.net>
marcfischerboschio pushed a commit to bosch-io/openhab-addons that referenced this pull request May 5, 2022
Without this configuration there are issues with line endings on Windows.

See: openhab#8712

Signed-off-by: Wouter Born <github@maindrain.net>
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

Successfully merging this pull request may close these issues.

None yet

4 participants