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

Windows eol #182

Merged
merged 1 commit into from
Apr 19, 2018
Merged

Conversation

fooock
Copy link
Contributor

@fooock fooock commented Apr 18, 2018

Treat all files in the repo as binary, with no git magic updating line endings. Based on work in golang.org/issue/9281

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 939a95e0-5002-458c-933f-f1183e35beed

The following development artifacts have been built, and will exist for the next 30 days:

@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 254dc1a5-3edc-4062-9976-edfd45bf5926

The following development artifacts have been built, and will exist for the next 30 days:

Copy link
Contributor

@enocom enocom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great find! I've requested some minor changes, otherwise LGTM!

.gitattributes Outdated
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add a a reference to golang/go#9281, as it has a helpful discussion of what the following line means and why we want it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

.gitattributes Outdated
# See the License for the specific language governing permissions and
# limitations under the License.
* -text
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a newline to the file. Editors typically do this by default, but sometimes you have to configure it. If you're using IntelliJ, see "Settings → Editor → General → Ensure line feed at file end on Save".

go get -u golang.org/x/tools/cmd/stringer

.PHONY: default generate test updatedeps
TEST?=./...
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you revert this change? It's unrelated to the PR.

@fooock fooock force-pushed the bugfix/windows-line-endings branch from 260f3e1 to 7da7f87 Compare April 19, 2018 18:12
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 37ba2c86-c5ad-4157-99b0-6ab9616dfbc7

The following development artifacts have been built, and will exist for the next 30 days:

…e endings. Based on work in golang.org/issue/9281
@fooock fooock force-pushed the bugfix/windows-line-endings branch from 7da7f87 to 7d9c318 Compare April 19, 2018 19:46
@agones-bot
Copy link
Collaborator

Build Succeeded 👏

Build Id: 7da7a615-f339-4bb1-aa38-2ab6edec2d16

The following development artifacts have been built, and will exist for the next 30 days:

@enocom enocom merged commit 1f6cb60 into googleforgames:master Apr 19, 2018
@markmandel markmandel added this to the 0.2 milestone Apr 27, 2018
@markmandel markmandel added kind/cleanup Refactoring code, fixing up documentation, etc area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. labels May 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build-tools Development tooling. I.e. pretty much everything in the `build` directory. kind/cleanup Refactoring code, fixing up documentation, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants