GeezerVison is showing github.com — Replace CR characters with newlines by jboynes · Pull Request #91 · googleapis/google-cloud-java
Conversation
Replaces standalone \r characters in these files with \n for consistency across the codebase.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|

Coverage remained the same at 64.71% when pulling 3d83517 on jboynes:no_returns into 0cd6f98 on GoogleCloudPlatform:master.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Looks good. To avoid future variant line-ending do you mind to include a .gitattributes (with text eol=lf) in this PR to force Unix line ending (see this).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I don't mind but would point out that most[1] other projects don't have a per-repo attributes file - they leave it to the user to set the options in their git client.
[1] I checked the first five from GoogleCloudPlatform plus this is the norm on all other OSS projects I've work on.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
If we care about unix line ending style than I am not sure I see any wrong in doing that (and can only see the advantage of not needing any further PRs like this one). Do you?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
I honestly didn't know that this was an option.... Had I known, I certainly would have encouraged it's use in the other gcloud-* repositories.....
In other words: we're saying "this repo only wants LF, not CRLF" -- sounds like a repo-specific thing, right?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
AIUI, this does not affect what is stored in the repo. text eol=lf means that when you checkout a file the line endings are converted to LF even on Windows. This can cause issues with some native editors, Notepad curse you ... It would be worth investigating how non-default behaviours affect various platforms - I opened #95 for that.
Whatever the outcome there we need to fix the file content in the repo. Can we pull this to do that?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
aozarov
added a commit
that referenced
this pull request
Jun 5, 2015
Replace CR characters with newlines
aozarov
added a commit
that referenced
this pull request
Jul 1, 2015
Replace CR characters with newlines
aozarov
added a commit
that referenced
this pull request
Jul 7, 2015
Replace CR characters with newlines
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 11, 2026
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
benjaminp
pushed a commit
to benjaminp/google-cloud-java
that referenced
this pull request
Jul 13, 2026
)
At some point, the allowed settings were changed from "prod" and "emulator" to "cloud" and "emulator".
This change updates the error message associated to the illegal argument exception.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|