GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore: Store mvnw.cmd with CRLF as-is by adangel · Pull Request #7368 · pmd/pmd

Conversation

@adangel

@adangel adangel commented Nov 19, 2026

Copy link
Copy Markdown
Member

Describe the PR

We no longer normalize the line endings to lf in git storage and to crlf on checkout (-text).
When dependabot updates this file, it will always store it with crlf (without using .gitattributes settings) and the file would appear always as modified. Since the file is usually not edited manually but only by wrapper:wrapper or dependabot, it's only a small risk that someone accidentally modifies the line endings to lf by manually editing the file.

Related issues

  • Same problem was previous addressed in Fix line endings of mwnw.cmd #7154.
  • Problematic PRs: chore(deps): bump org.apache.maven:apache-maven from 3.9.16 to 3.10.0 #7140 chore(deps): bump org.apache.maven:apache-maven from 3.10.0 to 3.10.1 #7359

Ready?

  • Added unit tests for fixed bug/feature
  • Passing all unit tests
  • Complete build ./mvnw clean verify passes (checked automatically by github actions)
  • Added (in-code) documentation (if needed)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@adangel
chore: Store mvnw.cmd with CRLF as-is
c3b8ac0
We no longer normalize the line endings to lf in git storage and to crlf
on checkout (-text).
When dependabot updates this file, it will always store it with crlf (without
using .gitattributes settings) and the file would appear always as modified.
Since the file is usually not edited manually but only by wrapper:wrapper or
dependabot, it's only a small risk that someone accidentally modifies the
line endings to lf by manually editing the file.

Same problem was previous addressed in pmd#7154.
Problematic PRs: pmd#7140 pmd#7359
@adangel adangel added this to the 7.30.0 milestone Nov 19, 2026
@pmd-actions-helper

pmd-actions-helper Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Documentation Preview

No relevant source code has been changed, pmdtester skipped.

(comment created at 2026-11-19 08:56:45+00:00 for c3b8ac0)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adangel
adangel merged commit 2f24462 into pmd:main Nov 19, 2026
12 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@adangel
adangel deleted the chore/fix-mvnw-cmd branch November 19, 2026 09:04
adangel added a commit to pmd/build-tools that referenced this pull request Nov 19, 2026
@adangel
chore: Store mvnw.cmd with CRLF as-is
6987670
See also pmd/pmd#7368
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

7.30.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@adangel
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.