-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
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
[JENKINS-69195] force update of the files so they are checked out with eol=lf #6948
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not think there is a need to force a refresh of checked out files through changes to the checked-in sources when one can merely follow the instructions given at Refreshing a repository after changing line endings. If following those instructions works, then I would prefer to close this PR.
well yes, deleting everything except the
Additionally there is nothing in (after going back in time to an older version and then forward twice ending on master) :
If I could think of or knew something that actually needed to be changed in these files rather than leaving a bogus comment then I would happily adjust the PR to take those changes as opposed to a somewhat bogus comment. |
That seems like a separate problem. A local Maven build shouldn't be using -0 from me for adding these comments if there is a local workaround. |
introduced unconditionally in #6894 as far as I can tell @timja? as |
That change re-introduced a local option ( It could conditionally swap between |
With one -0 vote and no positive votes, I am marking this as proposed for close. |
With one -0 vote and no positive votes in over 1 month, I am closing this PR. |
JENKINS-71021 FTR |
See JENKINS-69195.
yarn ci:lint
fails if the less files have non unix line ends. Whilst.gitattributes
specifies the line endings for.less
files now - nothing happens for their line endings unless the file is updated (as some of the files are 3 years since the last change that would be a very old checkout)This adds a comment that then ensures the files will be newer and git will transform the line ending on windows if anyone is fetching into an existing repo as opposed to cloning something new.
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgrade@Restricted
or have@since TODO
Javadoc, as appropriate.@Deprecated(since = "TODO")
or@Deprecated(forRemoval = true, since = "TODO")
if applicable.Desired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are accurate, human-readable, and in the imperative moodupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).