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

Simplify .gitattributes #424

Merged
merged 1 commit into from
May 2, 2024
Merged

Conversation

myyk
Copy link
Contributor

@myyk myyk commented May 1, 2024

Why

I can't tell for sure but it seems like .runsettings* and .gdlintrc paths were included in the release by mistake since the .gitattributes is an excluded list.

The current .gitattributes structure looks difficult to maintain. If .runsettings* and/or .gdlintrc should be kept in the final release, this PR can easily be updated to include them explicitly.

What

I flipped the .gitattributes around to be an includes list by excluding everything first. This approach should keep it more maintainable as you may add other files to the project later that are not needed in the final release.

This is testable by running this command against this branch:
git archive --format=tar improve-gitattribute | gzip > <replace-this-with-a-path>

@MikeSchulze
Copy link
Owner

That's great, thank you yes, that makes it much easier 👍

@MikeSchulze MikeSchulze changed the title fix: simplify .gitattributes and remove .runsettings* and .gdlintrc Simplify .gitattributes May 2, 2024
@MikeSchulze MikeSchulze merged commit cf7ead9 into MikeSchulze:master May 2, 2024
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.

2 participants