Skip to content

chore: add a Windows test on long path with git#962

Draft
lemeurherveCB wants to merge 44 commits intojenkinsci:masterfrom
lemeurherveCB:add-git-long-path-test
Draft

chore: add a Windows test on long path with git#962
lemeurherveCB wants to merge 44 commits intojenkinsci:masterfrom
lemeurherveCB:add-git-long-path-test

Conversation

@lemeurherveCB
Copy link
Contributor

@lemeurherveCB lemeurherveCB commented Mar 26, 2025

This PR adds a test to ensure git can works with long paths on Windows.

In draft until a new Git for Windows version is published to fix long paths.

From git-for-windows/git#5550 (comment):

<...> the next Git version, v2.50.0, is planned for June 13th, 2025, and traditionally Git for Windows follows that release cycle.

Ref:

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests - that demonstrates feature works or fixes the issue

[switch] $DryRun = $false,
# Output debug info for tests: 'empty' (no additional test output), 'debug' (test cmd & stderr outputed), 'verbose' (test cmd, stderr, stdout outputed)
[String] $TestsDebug = ''
[String] $TestsDebug = 'verbose'
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
[String] $TestsDebug = 'verbose'
[String] $TestsDebug = ''

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