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

git clean follows junction points #2626

Closed
sunahe opened this issue Nov 22, 2019 · 4 comments
Closed

git clean follows junction points #2626

sunahe opened this issue Nov 22, 2019 · 4 comments
Assignees

Comments

@sunahe
Copy link

sunahe commented Nov 22, 2019

Agent Version and Platform

Agent 2.153.1 running on Windows Server 2012R2 or Windows Server 2019

Azure DevOps Type and Version

Azure DevOps Server 2019.1

What's not working?

When git clean -ffdx is run by the agent as a part of checkout, git recursively follows NTFS junction points and deletes everything in there. That can cause problems when junctions are created into cache folders, and more serious problems when a junction is created into drive root by mistake.

The issue was addressed in git 2.23 by git-for-windows/git#2268 so updating the bundled git to 2.23 or later would resolve this.

@jtpetty
Copy link
Contributor

jtpetty commented Nov 25, 2019

@vtbassmatt - Do you know of any reason why we could not update the version of git for windows in the agent?

@vtbassmatt
Copy link
Member

@jtpetty we should do this. At one point, I was even hoping to automate updates (or at least automate grabbing + testing them) to GfW so that the agent would always be on latest.

@jtpetty jtpetty self-assigned this Dec 5, 2019
@jtpetty
Copy link
Contributor

jtpetty commented Dec 30, 2019

Agent 2.164.0 has been updated to use mingit 2.24.0.2. This was done with PR #2657

@jtpetty
Copy link
Contributor

jtpetty commented Jan 28, 2020

This was released in agent 2.146.6

@jtpetty jtpetty closed this as completed Jan 28, 2020
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

No branches or pull requests

3 participants